diff options
author | nyawox <nyawox.git@gmail.com> | 2024-04-16 15:01:52 +0900 |
---|---|---|
committer | nyawox <nyawox.git@gmail.com> | 2024-04-19 23:15:36 +0900 |
commit | a6f0cada9272b0b9fd070423142cf9dc0af32b9d (patch) | |
tree | 230ab1913457a5c0b4ba41bd8e26e6fb90f18d1c /pkgs/by-name/po | |
parent | 499b94351a2ce1272b439d506bbc3f4ac2eea680 (diff) |
poppins: init at 4.003
Diffstat (limited to 'pkgs/by-name/po')
-rw-r--r-- | pkgs/by-name/po/poppins/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/po/poppins/package.nix b/pkgs/by-name/po/poppins/package.nix new file mode 100644 index 0000000000000..b56b2c3f2c8d6 --- /dev/null +++ b/pkgs/by-name/po/poppins/package.nix @@ -0,0 +1,35 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, + unzip, +}: +stdenvNoCC.mkDerivation rec { + pname = "poppins"; + version = "4.003"; + + src = fetchFromGitHub { + owner = "itfoundry"; + repo = "poppins"; + rev = "v${version}"; + hash = "sha256-7+RQHYxNFqOw2EeS2hgrbK/VbUAiPorUtkyRb5MFh5w="; + }; + + nativeBuildInputs = [unzip]; + + installPhase = '' + runHook preInstall + unzip products/Poppins-4.003-GoogleFonts-TTF.zip + unzip products/PoppinsLatin-5.001-Latin-TTF.zip + install -Dm644 *.ttf -t $out/share/fonts/truetype + runHook postInstall + ''; + + meta = { + description = "A Devanagari + Latin family for Google Fonts"; + homepage = "https://github.com/itfoundry/Poppins/"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [nyawox]; + platforms = lib.platforms.all; + }; +} |