mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
30 lines
734 B
Nix
30 lines
734 B
Nix
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "sampradaya";
|
|
version = "0.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/deepestblue/sampradaya/releases/download/v${version}/Sampradaya.ttf";
|
|
hash = "sha256-ygKMNzHvbLR2A5HHrfY2C9ZUg0yng+JL3cyg6sBKqeQ=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 $src $out/share/fonts/truetype/Sampradaya.ttf
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/deepestblue/sampradaya";
|
|
description = "Unicode-compliant Grantha font";
|
|
maintainers = with maintainers; [ mathnerd314 ];
|
|
license = licenses.ofl; # See font metadata
|
|
platforms = platforms.all;
|
|
};
|
|
}
|