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
37
pkgs/data/fonts/cherry/default.nix
Normal file
37
pkgs/data/fonts/cherry/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fonttosfnt, mkfontdir }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cherry";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "turquoise-hexagon";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "13zkxwp6r6kcxv4x459vwscr0n0sik4a3kcz5xnmlpvcdnbxi586";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ fonttosfnt mkfontdir ];
|
||||
|
||||
buildPhase = ''
|
||||
patchShebangs make.sh
|
||||
./make.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/misc
|
||||
cp *.otb $out/share/fonts/misc
|
||||
|
||||
# create fonts.dir so NixOS xorg module adds to fp
|
||||
mkfontdir $out/share/fonts/misc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "cherry font";
|
||||
homepage = "https://github.com/turquoise-hexagon/cherry";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue