nixpkgs/pkgs/data/fonts/tibetan-machine/default.nix

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

28 lines
665 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2022-04-22 00:25:43 +00:00
stdenvNoCC.mkDerivation rec {
pname = "tibetan-machine";
2022-04-22 00:25:43 +00:00
version = "1.901b";
src = fetchurl {
url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2";
hash = "sha256-c/1Sgv7xKHpsJGjY9ZY2qOJHShGHL1robvphFNJOt5w=";
};
installPhase = ''
runHook preInstall
2022-04-22 00:25:43 +00:00
mkdir -p $out/share/fonts
cp *.ttf $out/share/fonts
runHook postInstall
2022-04-22 00:25:43 +00:00
'';
meta = with lib; {
description = "Tibetan Machine - an OpenType Tibetan, Dzongkha and Ladakhi font";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}