librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / cu / culmus / package.nix
blob28a7f4385a01a6ee95fd125301cf209453c9a138
1 { lib, stdenvNoCC, fetchurl }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "culmus";
5   version = "0.133";
7   src = fetchurl {
8     url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
9     hash = "sha256-wMaHN0LQdUT2us8q1S65yzkpdNVkJ5ONwd+8g5nGTQU=";
10   };
12   installPhase = ''
13     runHook preInstall
15     mkdir -p $out/share/fonts/{truetype,type1}
16     cp -v *.pfa $out/share/fonts/type1/
17     cp -v *.afm $out/share/fonts/type1/
18     cp -v fonts.scale-type1 $out/share/fonts/type1/fonts.scale
19     cp -v *.ttf $out/share/fonts/truetype/
20     cp -v *.otf $out/share/fonts/truetype/
21     cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale
23     runHook postInstall
24   '';
26   meta = {
27     description = "Culmus Hebrew fonts";
28     longDescription = "The Culmus project aims at providing the Hebrew-speaking GNU/Linux and Unix community with a basic collection of Hebrew fonts for X Windows.";
29     platforms = lib.platforms.all;
30     license = lib.licenses.gpl2;
31     homepage = "http://culmus.sourceforge.net/";
32     downloadPage = "http://culmus.sourceforge.net/download.html";
33   };