2023-01-30 09:25:57 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2019-11-24 09:20:00 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-11-24 09:20:00 +00:00
|
|
|
pname = "RhodiumLibre";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DunwichType";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-YCQvUdjEAj4G71WCRCM0+NwiqRqwt1Ggeg9jb/oWEsY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2019-11-24 09:20:00 +00:00
|
|
|
|
|
|
|
install -Dm444 -t $out/share/fonts/opentype/ RhodiumLibre-Regular.otf
|
|
|
|
install -Dm444 -t $out/share/fonts/truetype/ RhodiumLibre-Regular.ttf
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2019-11-24 09:20:00 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|