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
28
pkgs/data/fonts/rhodium-libre/default.nix
Normal file
28
pkgs/data/fonts/rhodium-libre/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "RhodiumLibre";
|
||||
version = "1.2.0";
|
||||
in fetchFromGitHub {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
owner = "DunwichType";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
install -Dm444 -t $out/share/fonts/opentype/ RhodiumLibre-Regular.otf
|
||||
install -Dm444 -t $out/share/fonts/truetype/ RhodiumLibre-Regular.ttf
|
||||
'';
|
||||
|
||||
sha256 = "04ax6bri5vsji465806p8d7zbdf12r5bpvcm9nb8isfqm81ggj0r";
|
||||
|
||||
meta = with lib; {
|
||||
description = "F/OSS/Libre font for Latin and Devanagari";
|
||||
homepage = "https://github.com/DunwichType/RhodiumLibre";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue