mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
pythonPackages.pycups: move expression
This commit is contained in:
parent
3680fc9fd4
commit
150d0b7428
22
pkgs/development/python-modules/pycups/default.nix
Normal file
22
pkgs/development/python-modules/pycups/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ lib, buildPythonPackage, fetchurl, cups }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycups";
|
||||
version = "1.9.73";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
|
||||
sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
|
||||
};
|
||||
|
||||
buildInputs = [ cups ];
|
||||
|
||||
# Wants to connect to CUPS
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for libcups";
|
||||
homepage = http://cyberelk.net/tim/software/pycups/;
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
};
|
||||
}
|
@ -13079,27 +13079,7 @@ in {
|
||||
};
|
||||
});
|
||||
|
||||
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 ];
|
||||
|
||||
# Wants to connect to CUPS
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for libcups";
|
||||
homepage = http://cyberelk.net/tim/software/pycups/;
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
};
|
||||
|
||||
};
|
||||
pycups = callPackage ../development/python-modules/pycups { };
|
||||
|
||||
pycurl = buildPythonPackage (rec {
|
||||
name = "pycurl-7.19.5.1";
|
||||
|
Loading…
Reference in New Issue
Block a user