diff options
author | Frederik Rietdijk | 2015-12-09 10:04:56 +0100 |
---|---|---|
committer | Frederik Rietdijk | 2015-12-11 10:41:37 +0100 |
commit | 88bcfa64418cce711e30cf21723fe99f3a6be885 (patch) | |
tree | e7c9dc19e553726923d83cfbfece8bac0dfc30d3 | |
parent | dbdfda7871b096a76bb9ab3f3706a614a3de3bff (diff) |
python pycups: 1.9.68 -> 1.9.73 and move expression
-rw-r--r-- | pkgs/development/python-modules/pycups/default.nix | 18 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 18 |
3 files changed, 19 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/pycups/default.nix b/pkgs/development/python-modules/pycups/default.nix deleted file mode 100644 index 766dcaa58f79..000000000000 --- a/pkgs/development/python-modules/pycups/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ stdenv, fetchurl, python, cups }: - -let version = "1.9.68"; in - -stdenv.mkDerivation { - name = "pycups-${version}"; - - src = fetchurl { - url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2"; - sha256 = "1i1ph9k1wampa7r6mgc30a99w0zjmxhvcxjxrgjqa5vdknynqd24"; - }; - - installPhase = '' - CFLAGS=-DVERSION=\\\"${version}\\\" python ./setup.py install --prefix $out - ''; - - buildInputs = [ python cups ]; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 96f70e77559d..25c6be1e6c77 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9023,7 +9023,7 @@ let pycrypto = pythonPackages.pycrypto; - pycups = callPackage ../development/python-modules/pycups { }; + pycups = pythonPackages.pycups; pyexiv2 = callPackage ../development/python-modules/pyexiv2 { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5a188d488d7e..3b683477bc66 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14150,6 +14150,24 @@ in modules // { }; }); + pycups = buildPythonPackage rec { + name = "pycups-${version}"; + version = "1.9.73"; + + src = pkgs.fetchurl { + url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2"; + sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335"; + }; + + buildInputs = [ pkgs.cups ]; + + meta = { + description = "Python bindings for libcups"; + homepage = http://cyberelk.net/tim/software/pycups/; + license = with licenses; [ gpl2Plus ]; + }; + + }; pycurl = buildPythonPackage (rec { name = "pycurl-7.19.5"; |