python310Packages.pyipp: 0.12.1 -> 0.13.0
https://github.com/ctalkington/python-ipp/releases/tag/0.13.0
This commit is contained in:
parent
507f9c4d85
commit
1d62ec322c
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyipp";
|
pname = "pyipp";
|
||||||
version = "0.12.1";
|
version = "0.13.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -24,9 +24,15 @@ buildPythonPackage rec {
|
||||||
owner = "ctalkington";
|
owner = "ctalkington";
|
||||||
repo = "python-ipp";
|
repo = "python-ipp";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-xTSi5Eh6vVuQ+Kr/oVMlh5YcckVRsfTUgdmGHndmX+Q=";
|
hash = "sha256-lVpXtPxZZCyWycmkXZTMo5WTPtlehNY5IX7tiyIb1uM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||||
|
--replace "--cov" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
@ -45,17 +51,14 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
__darwinAllowLocalNetworking = true;
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
|
||||||
--replace " --cov" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"pyipp"
|
"pyipp"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/ctalkington/python-ipp/releases/tag/${version}";
|
||||||
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
|
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
|
||||||
homepage = "https://github.com/ctalkington/python-ipp";
|
homepage = "https://github.com/ctalkington/python-ipp";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in a new issue