Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pycups / default.nix
blob789d9d4cb8ead0fc715ac08b126059295f56eb89
1 { stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }:
3 buildPythonPackage rec {
4   pname = "pycups";
5   version = "1.9.73";
7   src = fetchurl {
8     url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
9     sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
10   };
12   buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;
14   # Wants to connect to CUPS
15   doCheck = false;
17   meta = with lib; {
18     description = "Python bindings for libcups";
19     homepage = "http://cyberelk.net/tim/software/pycups/";
20     license = with licenses; [ gpl2Plus ];
21   };