2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2015-10-12 14:43:14 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2018-11-20 00:14:14 +01:00
|
|
|
version = "0.133";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchzip {
|
2017-08-10 21:43:49 +02:00
|
|
|
name = "culmus-${version}";
|
2019-05-13 03:55:32 +02:00
|
|
|
url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz";
|
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
2019-01-11 13:57:28 +01:00
|
|
|
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 14:43:14 +02:00
|
|
|
cp -v *.ttf $out/share/fonts/truetype/
|
2019-01-11 13:57:28 +01:00
|
|
|
cp -v *.otf $out/share/fonts/truetype/
|
|
|
|
cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale
|
2015-10-12 14:43:14 +02:00
|
|
|
'';
|
2019-05-13 03:55:32 +02:00
|
|
|
sha256 = "0zqqjcrqmbd4389hqz2dwymkkcxjrq9ylyriiv3gbmzl6l1ffk3g";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2015-10-12 14:43:14 +02: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.";
|
2019-05-13 03:55:32 +02:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
license = lib.licenses.gpl2;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://culmus.sourceforge.net/";
|
|
|
|
downloadPage = "http://culmus.sourceforge.net/download.html";
|
2015-10-12 14:43:14 +02:00
|
|
|
};
|
|
|
|
}
|