diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-11-11 09:23:16 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-11-11 09:25:07 +0100 |
commit | 8559b6db82e91963a8805aa01e9b4ef234ad38db (patch) | |
tree | f6c7212f62d9d5d6ec3f0654e177237054269c6e /pkgs/data | |
parent | ac522cbe95c909507cb113d1f7133d80b9c381a1 (diff) | |
parent | 2b2088ef32d2b111d15a4f04e2211e3784e4111d (diff) | |
download | nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar.gz nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar.bz2 nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar.lz nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar.xz nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.tar.zst nixpkgs-8559b6db82e91963a8805aa01e9b4ef234ad38db.zip |
Merge branch 'master' into staging
A couple thousand rebuilds from master.
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/libertinus/default.nix | 37 | ||||
-rw-r--r-- | pkgs/data/fonts/source-sans-pro/default.nix | 2 | ||||
-rw-r--r-- | pkgs/data/fonts/source-serif-pro/default.nix | 2 |
3 files changed, 39 insertions, 2 deletions
diff --git a/pkgs/data/fonts/libertinus/default.nix b/pkgs/data/fonts/libertinus/default.nix new file mode 100644 index 00000000000..b4ce653da63 --- /dev/null +++ b/pkgs/data/fonts/libertinus/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "libertinus-${version}"; + version = "6.4"; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "khaledhosny"; + repo = "libertinus"; + sha256 = "0acnq4vpplp2s7kdnhncz61diji3wmhca04g27yqpk03ahb40x9g"; + }; + + installPhase = '' + mkdir -p $out/share/fonts/opentype/ + mkdir -p $out/share/doc/${name}/ + cp *.otf $out/share/fonts/opentype/ + cp *.txt $out/share/doc/${name}/ + ''; + + outputHashAlgo = "sha256"; + outputHashMode = "recursive"; + outputHash = "0yn526kwb4xjyf6gvf0wflqi45z5dlzicycz2q003a6if5fgqcz3"; + + meta = with stdenv.lib; { + description = "A fork of the Linux Libertine and Linux Biolinum fonts"; + longDescription = '' + Libertinus fonts is a fork of the Linux Libertine and Linux Biolinum fonts + that started as an OpenType math companion of the Libertine font family, + but grown as a full fork to address some of the bugs in the fonts. + ''; + homepage = https://github.com/khaledhosny/libertinus; + license = licenses.ofl; + maintainers = with maintainers; [ siddharthist ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/data/fonts/source-sans-pro/default.nix b/pkgs/data/fonts/source-sans-pro/default.nix index 4ae9ceac01d..fccb231f4ca 100644 --- a/pkgs/data/fonts/source-sans-pro/default.nix +++ b/pkgs/data/fonts/source-sans-pro/default.nix @@ -13,7 +13,7 @@ fetchzip { sha256 = "17rgkh54arybmcdg750ynw32x2sps7p9vrvq9kpih8vdghwrh9k2"; meta = with stdenv.lib; { - homepage = http://sourceforge.net/adobe/sourcesans; + homepage = https://sourceforge.net/adobe/sourcesans; description = "A set of OpenType fonts designed by Adobe for UIs"; license = licenses.ofl; platforms = platforms.all; diff --git a/pkgs/data/fonts/source-serif-pro/default.nix b/pkgs/data/fonts/source-serif-pro/default.nix index d627d813daa..d58ccc33813 100644 --- a/pkgs/data/fonts/source-serif-pro/default.nix +++ b/pkgs/data/fonts/source-serif-pro/default.nix @@ -15,7 +15,7 @@ in fetchzip { sha256 = "04447fbj7lwr2qmmvy7d7624qdh4in7hp627nsc8vbpxmb7bbmn1"; meta = with stdenv.lib; { - homepage = http://sourceforge.net/adobe/sourceserifpro; + homepage = https://sourceforge.net/adobe/sourceserifpro; description = "A set of OpenType fonts to complement Source Sans Pro"; license = licenses.ofl; platforms = platforms.all; |