Loading pkgs/by-name/pa/paratype-pt-sans/package.nix +15 −19 Original line number Diff line number Diff line { lib, stdenvNoCC, fetchzip, fetchFromGitHub, }: stdenvNoCC.mkDerivation { pname = "paratype-pt-sans"; version = "2.005"; src = fetchzip { urls = [ "https://company.paratype.com/system/attachments/629/original/ptsans.zip" "http://rus.paratype.ru/system/attachments/629/original/ptsans.zip" ]; stripRoot = false; hash = "sha256-34TqYXtWzkAstaGQBhJy+/hVk5tg6ZvHZ/kvUroWVLs="; version = "2.003"; src = fetchFromGitHub { owner = "google"; repo = "fonts"; rev = "a4f3deeca2d7547351ff746f7bf3b51f5528dbcf"; hash = "sha256-44G9Pdi4GxeC9hzvCKuE7AmHyjVrjzalr3XZOgl3l6o="; rootDir = "ofl/ptsans"; }; installPhase = '' runHook preInstall install -Dm644 *.ttf -t $out/share/fonts/truetype install -Dm644 *.txt -t $out/share/doc/paratype runHook postInstall ''; meta = { homepage = "http://www.paratype.ru/public/"; homepage = "https://www.paratype.ru/catalog/font/pt/pt-sans"; description = "Open Paratype font"; license = lib.licenses.paratype; # no commercial distribution of the font on its own # must rename on modification # http://www.paratype.ru/public/pt_openlicense.asp license = lib.licenses.ofl; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ raskin ]; maintainers = with lib.maintainers; [ raskin pancaek ]; }; } Loading
pkgs/by-name/pa/paratype-pt-sans/package.nix +15 −19 Original line number Diff line number Diff line { lib, stdenvNoCC, fetchzip, fetchFromGitHub, }: stdenvNoCC.mkDerivation { pname = "paratype-pt-sans"; version = "2.005"; src = fetchzip { urls = [ "https://company.paratype.com/system/attachments/629/original/ptsans.zip" "http://rus.paratype.ru/system/attachments/629/original/ptsans.zip" ]; stripRoot = false; hash = "sha256-34TqYXtWzkAstaGQBhJy+/hVk5tg6ZvHZ/kvUroWVLs="; version = "2.003"; src = fetchFromGitHub { owner = "google"; repo = "fonts"; rev = "a4f3deeca2d7547351ff746f7bf3b51f5528dbcf"; hash = "sha256-44G9Pdi4GxeC9hzvCKuE7AmHyjVrjzalr3XZOgl3l6o="; rootDir = "ofl/ptsans"; }; installPhase = '' runHook preInstall install -Dm644 *.ttf -t $out/share/fonts/truetype install -Dm644 *.txt -t $out/share/doc/paratype runHook postInstall ''; meta = { homepage = "http://www.paratype.ru/public/"; homepage = "https://www.paratype.ru/catalog/font/pt/pt-sans"; description = "Open Paratype font"; license = lib.licenses.paratype; # no commercial distribution of the font on its own # must rename on modification # http://www.paratype.ru/public/pt_openlicense.asp license = lib.licenses.ofl; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ raskin ]; maintainers = with lib.maintainers; [ raskin pancaek ]; }; }