2017-08-10 20:43:49 +01:00
|
|
|
{ stdenv, fetchzip }:
|
2015-10-12 13:43:14 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2018-11-19 23:14:14 +00:00
|
|
|
version = "0.133";
|
2019-01-11 12:57:28 +00:00
|
|
|
in stdenv.mkDerivation {
|
2017-08-10 20:43:49 +01:00
|
|
|
name = "culmus-${version}";
|
2015-10-12 13:43:14 +01:00
|
|
|
|
2019-01-11 12:57:28 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz";
|
|
|
|
sha256 = "0q80j3vixn364sc23hcy6098rkgy0kb4p91lky6224am1dwn2qmr";
|
|
|
|
};
|
2017-08-10 20:43:49 +01:00
|
|
|
|
2019-01-11 12:57:28 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/{truetype,type1}
|
|
|
|
cp -v *.pfa $out/share/fonts/type1/
|
|
|
|
cp -v *.afm $out/share/fonts/type1/
|
|
|
|
cp -v fonts.scale-type1 $out/share/fonts/type1/fonts.scale
|
2015-10-12 13:43:14 +01:00
|
|
|
cp -v *.ttf $out/share/fonts/truetype/
|
2019-01-11 12:57:28 +00:00
|
|
|
cp -v *.otf $out/share/fonts/truetype/
|
|
|
|
cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale
|
2015-10-12 13:43:14 +01:00
|
|
|
'';
|
2017-08-10 20:43:49 +01:00
|
|
|
|
2015-10-12 13:43:14 +01:00
|
|
|
meta = {
|
|
|
|
description = "Culmus Hebrew fonts";
|
|
|
|
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.";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
homepage = http://culmus.sourceforge.net/;
|
|
|
|
downloadPage = http://culmus.sourceforge.net/download.html;
|
|
|
|
};
|
|
|
|
}
|