mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
commit
000e4bcfc8
@ -14810,6 +14810,12 @@
|
||||
githubId = 127548;
|
||||
name = "Judson Lester";
|
||||
};
|
||||
nyawox = {
|
||||
name = "nyawox";
|
||||
email = "nyawox.git@gmail.com";
|
||||
github = "nyawox";
|
||||
githubId = 93813719;
|
||||
};
|
||||
nzbr = {
|
||||
email = "nixos@nzbr.de";
|
||||
github = "nzbr";
|
||||
|
35
pkgs/by-name/po/poppins/package.nix
Normal file
35
pkgs/by-name/po/poppins/package.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user