python3Packages.pycups: modernize and migrate to pyproject (#523013)
This commit is contained in:
@@ -5,18 +5,21 @@
|
||||
fetchPypi,
|
||||
cups,
|
||||
libiconv,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pycups";
|
||||
version = "2.0.4";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-hD44XB2/aUmWyoTvAqfzDCg3YDVYj1++rNa64AXPfI0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ cups ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
||||
|
||||
# Wants to connect to CUPS
|
||||
@@ -27,4 +30,4 @@ buildPythonPackage rec {
|
||||
homepage = "http://cyberelk.net/tim/software/pycups/";
|
||||
license = with lib.licenses; [ gpl2Plus ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user