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
32
pkgs/data/fonts/scientifica/default.nix
Normal file
32
pkgs/data/fonts/scientifica/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, fetchurl }:
|
||||
|
||||
let
|
||||
version = "2.3";
|
||||
in fetchurl rec {
|
||||
name = "scientifica-${version}";
|
||||
|
||||
url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica.tar";
|
||||
|
||||
downloadToTemp = true;
|
||||
|
||||
recursiveHash = true;
|
||||
|
||||
sha256 = "sha256-pVWkj/2lFpmWk0PPDrIMU4Gey7/m/9tzUsuD3ZDUAdc=";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/fonts/misc
|
||||
install scientifica/ttf/*.ttf $out/share/fonts/truetype
|
||||
install scientifica/otb/*.otb $out/share/fonts/misc
|
||||
install scientifica/bdf/*.bdf $out/share/fonts/misc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tall and condensed bitmap font for geeks";
|
||||
homepage = "https://github.com/NerdyPepper/scientifica";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue