evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pycups / default.nix
blob8a89193a64ebfc3512b51303c718a87b34845b5e
2   stdenv,
3   lib,
4   buildPythonPackage,
5   fetchPypi,
6   cups,
7   libiconv,
8 }:
10 buildPythonPackage rec {
11   pname = "pycups";
12   version = "2.0.4";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-hD44XB2/aUmWyoTvAqfzDCg3YDVYj1++rNa64AXPfI0=";
18   };
20   buildInputs = [ cups ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
22   # Wants to connect to CUPS
23   doCheck = false;
25   meta = with lib; {
26     description = "Python bindings for libcups";
27     homepage = "http://cyberelk.net/tim/software/pycups/";
28     license = with licenses; [ gpl2Plus ];
29   };