nixpkgs/pkgs/data/fonts/stix-otf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
705 B
Nix
Raw Normal View History

2023-01-25 12:34:24 +01:00
{ lib, stdenvNoCC, fetchzip }:
2014-09-11 20:05:01 +02:00
2023-01-25 12:34:24 +01:00
stdenvNoCC.mkDerivation rec {
pname = "stix-otf";
2014-09-11 20:05:01 +02:00
version = "1.1.1";
2023-01-25 12:34:24 +01:00
src = fetchzip {
url = "https://sources.debian.org/src/fonts-stix/1.1.1-4.1/STIXv${version}-word.zip";
stripRoot = false;
hash = "sha256-M3STue+RPHi8JgZZupV0dVLZYKBiFutbBOlanuKkD08=";
};
2014-09-11 20:05:01 +02:00
2023-01-25 12:34:24 +01:00
installPhase = ''
runHook preInstall
2014-09-11 20:05:01 +02:00
2023-01-25 12:34:24 +01:00
install -Dm644 Fonts/STIX-Word/*.otf -t $out/share/fonts/opentype
runHook postInstall
'';
2017-08-10 21:43:49 +02:00
meta = with lib; {
homepage = "http://www.stixfonts.org/";
2014-09-11 20:05:01 +02:00
description = "Fonts for Scientific and Technical Information eXchange";
license = licenses.ofl;
platforms = platforms.all;
2023-01-25 12:34:24 +01:00
maintainers = [ maintainers.rycee ];
2014-09-11 20:05:01 +02:00
};
}