nixpkgs/pkgs/data/fonts/culmus/default.nix

27 lines
819 B
Nix
Raw Normal View History

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
version = "0.133";
2017-08-10 20:43:49 +01:00
in fetchzip {
name = "culmus-${version}";
2015-10-12 13:43:14 +01:00
2017-08-10 20:43:49 +01:00
url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz";
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
2015-10-12 13:43:14 +01:00
mkdir -p $out/share/fonts/truetype
cp -v *.ttf $out/share/fonts/truetype/
'';
2017-08-10 20:43:49 +01:00
sha256 = "1jxg2wf4kwasp5cia00nki2lrcdnhsyh4yy7d05l0a9bim5hq2lr";
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;
};
}