diff options
author | Volth <volth@webmaster.ms> | 2017-08-10 19:43:49 +0000 |
---|---|---|
committer | Volth <volth@webmaster.ms> | 2017-08-11 14:26:03 +0000 |
commit | 31c344982f0c47af4d33cb5a37125deb1d767ef0 (patch) | |
tree | 66227ecc2adcf14cc1a552364eb8940358199f5a /pkgs/data/fonts/culmus | |
parent | 691da0cbb99c7b72480bc836b11cc296739edaee (diff) | |
download | nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar.gz nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar.bz2 nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar.lz nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar.xz nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.tar.zst nixpkgs-31c344982f0c47af4d33cb5a37125deb1d767ef0.zip |
data/fonts: simpler cleanups
Diffstat (limited to 'pkgs/data/fonts/culmus')
-rw-r--r-- | pkgs/data/fonts/culmus/default.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/data/fonts/culmus/default.nix b/pkgs/data/fonts/culmus/default.nix index 08783e46cde..236058c0b27 100644 --- a/pkgs/data/fonts/culmus/default.nix +++ b/pkgs/data/fonts/culmus/default.nix @@ -1,19 +1,20 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchzip }: -stdenv.mkDerivation rec { - name = "culmus-${version}"; +let version = "0.130"; +in fetchzip { + name = "culmus-${version}"; - src = fetchurl { - url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz"; - sha256 = "908583e388bc983a63df4f38f7130eac69fc19539952031408bb3c627846f9c1"; - }; - - installPhase = '' + url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz"; + + postFetch = '' + tar -xzvf $downloadedFile --strip-components=1 mkdir -p $out/share/fonts/truetype cp -v *.ttf $out/share/fonts/truetype/ ''; - + + sha256 = "0v5vm8j2bxnw2qn0640kyibn4h8ck8cidhx2pixi5xsayr0ij1n6"; + 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."; |