Merge pull request #185443 from fabaff/netutils-bump

python310Packages.netutils: 1.2.0 -> 1.2.0
This commit is contained in:
Fabian Affolter 2022-08-06 23:40:09 +02:00 committed by GitHub
commit 9b3fcd4110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@
, lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, jinja2
, poetry-core
, pytestCheckHook
@ -13,7 +12,7 @@
buildPythonPackage rec {
pname = "netutils";
version = "1.1.0";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -22,7 +21,7 @@ buildPythonPackage rec {
owner = "networktocode";
repo = pname;
rev = "v${version}";
hash = "sha256-rTSesG7XmIzu2DcJMVgZMlh0kRQ8jEB3t++rgf63Flw=";
hash = "sha256-6FoadV5QMZCJnF/eD3FXRsyP4MymO5nayJ/54PJXOB4=";
};
nativeBuildInputs = [
@ -36,15 +35,6 @@ buildPythonPackage rec {
toml
];
patches = [
# Switch to poetry-core, https://github.com/networktocode/netutils/pull/115
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/networktocode/netutils/commit/edc8b06686db4e5b4c8c4deb6d0effbc22177b31.patch";
sha256 = "sha256-K5oSbtOJYeKbxzbaZQBXcl6LsHQAK8CxBLfkak15V6M=";
})
];
pythonImportsCheck = [
"netutils"
];
@ -59,10 +49,10 @@ buildPythonPackage rec {
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Library that is a collection of objects for common network automation tasks";
homepage = "https://github.com/networktocode/netutils";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
broken = stdenv.isDarwin;
};
}