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
29
pkgs/data/fonts/redhat-official/default.nix
Normal file
29
pkgs/data/fonts/redhat-official/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
let
|
||||
version = "4.0.2";
|
||||
in
|
||||
fetchFromGitHub {
|
||||
name = "redhat-official-${version}";
|
||||
|
||||
owner = "RedHatOfficial";
|
||||
repo = "RedHatFont";
|
||||
rev = version;
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
for kind in mono proportional; do
|
||||
install -m444 -Dt $out/share/fonts/opentype fonts/$kind/static/otf/*.otf
|
||||
install -m444 -Dt $out/share/fonts/truetype fonts/$kind/static/ttf/*.ttf
|
||||
done
|
||||
'';
|
||||
|
||||
sha256 = "sha256-904uQtbAdLx9MJudLk/vVk/+uK0nsPbWbAeXrWxTHm8=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/RedHatOfficial/RedHatFont";
|
||||
description = "Red Hat's Open Source Fonts - Red Hat Display and Red Hat Text";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue