Paratype PT: init
This commit is contained in:
parent
b1edc7909a
commit
60be029250
36
pkgs/data/fonts/paratype-pt/mono.nix
Normal file
36
pkgs/data/fonts/paratype-pt/mono.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "paratype-pt-mono";
|
||||
|
||||
src = fetchurl rec {
|
||||
url = "http://www.paratype.ru/uni/public/PTMono.zip";
|
||||
sha256 = "1wqaai7d6xh552vvr5svch07kjn1q89ab5jimi2z0sbd0rbi86vl";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/paratype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
cp *.txt $out/share/doc/paratype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
description = "An open Paratype font";
|
||||
|
||||
license = "Open Paratype license";
|
||||
# no commercial distribution of the font on its own
|
||||
# must rename on modification
|
||||
# http://www.paratype.ru/public/pt_openlicense.asp
|
||||
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}
|
||||
|
36
pkgs/data/fonts/paratype-pt/sans.nix
Normal file
36
pkgs/data/fonts/paratype-pt/sans.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "paratype-pt-sane";
|
||||
|
||||
src = fetchurl rec {
|
||||
url = "http://www.paratype.ru/uni/public/PTSans.zip";
|
||||
sha256 = "1j9gkbqyhxx8pih5agr9nl8vbpsfr9vdqmhx73ji3isahqm3bhv5";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/paratype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
cp *.txt $out/share/doc/paratype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
description = "An open Paratype font";
|
||||
|
||||
license = "Open Paratype license";
|
||||
# no commercial distribution of the font on its own
|
||||
# must rename on modification
|
||||
# http://www.paratype.ru/public/pt_openlicense.asp
|
||||
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}
|
||||
|
36
pkgs/data/fonts/paratype-pt/serif.nix
Normal file
36
pkgs/data/fonts/paratype-pt/serif.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "paratype-pt-serif";
|
||||
|
||||
src = fetchurl rec {
|
||||
url = "http://www.paratype.ru/uni/public/PTSerif.zip";
|
||||
sha256 = "0x3l58c1rvwmh83bmmgqwwbw9av1mvvq68sw2hdkyyihjvamyvvs";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/paratype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
cp *.txt $out/share/doc/paratype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
description = "An open Paratype font";
|
||||
|
||||
license = "Open Paratype license";
|
||||
# no commercial distribution of the font on its own
|
||||
# must rename on modification
|
||||
# http://www.paratype.ru/public/pt_openlicense.asp
|
||||
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}
|
||||
|
@ -10588,6 +10588,10 @@ let
|
||||
|
||||
pecita = callPackage ../data/fonts/pecita {};
|
||||
|
||||
paratype-pt-mono = callPackage ../data/fonts/paratype-pt/mono.nix {};
|
||||
paratype-pt-sans = callPackage ../data/fonts/paratype-pt/sans.nix {};
|
||||
paratype-pt-serif = callPackage ../data/fonts/paratype-pt/serif.nix {};
|
||||
|
||||
poly = callPackage ../data/fonts/poly { };
|
||||
|
||||
posix_man_pages = callPackage ../data/documentation/man-pages-posix { };
|
||||
|
Loading…
Reference in New Issue
Block a user