3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #74045 from marsam/add-rhodium-libre

rhodium-libre: init at 1.2.0
This commit is contained in:
Mario Rodas 2019-11-26 07:33:34 -05:00 committed by GitHub
commit 0c3a28f08f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View 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 ];
};
}

View file

@ -17646,6 +17646,8 @@ in
recursive = callPackage ../data/fonts/recursive { };
rhodium-libre = callPackage ../data/fonts/rhodium-libre { };
rictydiminished-with-firacode = callPackage ../data/fonts/rictydiminished-with-firacode { };
roboto = callPackage ../data/fonts/roboto { };