diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-22 19:11:27 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-22 19:11:27 +0000 |
commit | 87a62e5409d08e07cafd474d94682706aaa520da (patch) | |
tree | 99aa6026e3d4afa556aaf54702a8cb3d3f078713 /pkgs/misc/drivers/gutenprint/default.nix | |
parent | b29073af25cb0ff2d8d9a0aa1f958316904d3dc9 (diff) |
gutenprint: Fix name, improve style.
svn path=/nixpkgs/trunk/; revision=18532
Diffstat (limited to 'pkgs/misc/drivers/gutenprint/default.nix')
-rw-r--r-- | pkgs/misc/drivers/gutenprint/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/misc/drivers/gutenprint/default.nix b/pkgs/misc/drivers/gutenprint/default.nix index 54a61749f9aa..832aeb9793c0 100644 --- a/pkgs/misc/drivers/gutenprint/default.nix +++ b/pkgs/misc/drivers/gutenprint/default.nix @@ -1,13 +1,16 @@ # this package was called gimp-print in the past -args: with args; -let inherit (args.composableDerivation) composableDerivation edf wwf; in -composableDerivation {} { - +{ fetchurl, stdenv, lib, pkgconfig, composableDerivation, cups +, libtiff, libpng, openssl, git, gimp }@args : - name = "gutenprint-drivers"; +let + version = "5.2.4"; + inherit (args.composableDerivation) composableDerivation edf wwf; +in +composableDerivation {} { + name = "gutenprint-${version}"; src = fetchurl { - url = mirror://sourceforge/gimp-print/files/gutenprint-5.2/5.2.4/gutenprint-5.2.4.tar.bz2; + url = "mirror://sourceforge/gimp-print/files/gutenprint-5.2/${version}/gutenprint-${version}.tar.bz2"; sha256 = "09lnmf92h51sm0hmzd1hn2kl1sh6dxlnc0zjd9lrifzg0miyh45n"; }; |