uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/data/fonts/hack/default.nix
Normal file
40
pkgs/data/fonts/hack/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "3.003";
|
||||
in fetchzip {
|
||||
name = "hack-font-${version}";
|
||||
|
||||
url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hack
|
||||
'';
|
||||
|
||||
sha256 = "1l6ih6v7dqali5c7zh6z2xnbf9h2wz0ag6fdgszmqd5lnhw39v6s";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A typeface designed for source code";
|
||||
longDescription = ''
|
||||
Hack is hand groomed and optically balanced to be a workhorse face for
|
||||
code. It has deep roots in the libre, open source typeface community and
|
||||
expands upon the contributions of the Bitstream Vera & DejaVu projects.
|
||||
The face has been re-designed with a larger glyph set, modifications of
|
||||
the original glyph shapes, and meticulous attention to metrics.
|
||||
'';
|
||||
homepage = "https://sourcefoundry.org/hack/";
|
||||
|
||||
/*
|
||||
"The font binaries are released under a license that permits unlimited
|
||||
print, desktop, and web use for commercial and non-commercial
|
||||
applications. It may be embedded and distributed in documents and
|
||||
applications. The source is released in the widely supported UFO format
|
||||
and may be modified to derive new typeface branches. The full text of
|
||||
the license is available in LICENSE.md" (From the GitHub page)
|
||||
*/
|
||||
license = licenses.free;
|
||||
maintainers = with maintainers; [ dywedir ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue