diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/culmus/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/culmus/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/culmus/default.nix b/nixpkgs/pkgs/data/fonts/culmus/default.nix new file mode 100644 index 000000000000..00c472d7fe34 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/culmus/default.nix @@ -0,0 +1,28 @@ +{ lib, fetchzip }: + +let + version = "0.133"; +in fetchzip { + name = "culmus-${version}"; + url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz"; + postFetch = '' + tar xf $downloadedFile --strip=1 + 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 + cp -v *.ttf $out/share/fonts/truetype/ + cp -v *.otf $out/share/fonts/truetype/ + cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale + ''; + sha256 = "0zqqjcrqmbd4389hqz2dwymkkcxjrq9ylyriiv3gbmzl6l1ffk3g"; + + 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 = lib.platforms.all; + license = lib.licenses.gpl2; + homepage = "http://culmus.sourceforge.net/"; + downloadPage = "http://culmus.sourceforge.net/download.html"; + }; +} |