blob: 8a89193a64ebfc3512b51303c718a87b34845b5e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
cups,
libiconv,
}:
buildPythonPackage rec {
pname = "pycups";
version = "2.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-hD44XB2/aUmWyoTvAqfzDCg3YDVYj1++rNa64AXPfI0=";
};
buildInputs = [ cups ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
# 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 ];
};
}
|