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
34
pkgs/data/fonts/creep/default.nix
Normal file
34
pkgs/data/fonts/creep/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libfaketime
|
||||
, fonttosfnt, mkfontscale
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "creep";
|
||||
version = "0.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "romeovs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0zs21kznh1q883jfdgz74bb63i4lxlv98hj3ipp0wvsi6zw0vs8n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];
|
||||
|
||||
buildPhase = ''
|
||||
faketime -f "1970-01-01 00:00:01" fonttosfnt -g 2 -m 2 -o creep.otb creep.bdf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D -m644 creep.otb creep.bdf -t "$out/share/fonts/misc/"
|
||||
mkfontdir "$out/share/fonts/misc"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pretty sweet 4px wide pixel font";
|
||||
homepage = "https://github.com/romeovs/creep";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ buffet ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue