data/fonts: simpler cleanups
This commit is contained in:
@@ -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.";
|
||||
|
||||
Reference in New Issue
Block a user