diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
commit | 66097104090e06c43a784193809bc8843a2ec052 (patch) | |
tree | 021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/misc/drivers/gutenprint/default.nix | |
parent | b4a3f99c7812a6c8bc34979200693b7010afffcc (diff) | |
download | nixlib-66097104090e06c43a784193809bc8843a2ec052.tar nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.gz nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.bz2 nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.lz nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.xz nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.zst nixlib-66097104090e06c43a784193809bc8843a2ec052.zip |
* Get rid of many instances of "args: with args;", and other coding
guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782
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 832aeb9793c0..f1a01eefba59 100644 --- a/pkgs/misc/drivers/gutenprint/default.nix +++ b/pkgs/misc/drivers/gutenprint/default.nix @@ -1,12 +1,13 @@ # this package was called gimp-print in the past -{ fetchurl, stdenv, lib, pkgconfig, composableDerivation, cups -, libtiff, libpng, openssl, git, gimp }@args : +{ fetchurl, stdenv, pkgconfig, composableDerivation, cups +, libtiff, libpng, openssl, gimp }: let version = "5.2.4"; - inherit (args.composableDerivation) composableDerivation edf wwf; + inherit (composableDerivation) edf wwf; in -composableDerivation {} { + +composableDerivation.composableDerivation {} { name = "gutenprint-${version}"; src = fetchurl { @@ -15,12 +16,14 @@ composableDerivation {} { }; # gimp, gui is still not working (TODO) - buildInputs = [ openssl pkgconfig]; + buildInputs = [ openssl pkgconfig ]; configureFlags = ["--enable-static-genppd"]; + #preConfigure = '' # configureFlags="--with-cups=$out/usr-cups $configureFlags" #''; + /* is this recommended? without it this warning is printed: @@ -41,7 +44,7 @@ composableDerivation {} { license = "GPL"; }; - mergeAttrBy = { installArgs = lib.concat; }; + mergeAttrBy = { installArgs = stdenv.lib.concat; }; # most interpreters aren't tested yet.. (see python for example how to do it) flags = |