python3.pkgs.junos-eznc: 2.6.3 -> 2.6.5 (#199316)

This commit is contained in:
Yureka 2022-11-03 13:52:05 +01:00 committed by GitHub
parent 011d767e1e
commit fec7683a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,29 +26,16 @@
buildPythonPackage rec {
pname = "junos-eznc";
version = "2.6.3";
version = "2.6.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "Juniper";
repo = "py-junos-eznc";
rev = version;
hash = "sha256-XhQJwtS518AzSwyaWE392nfNdYe9+iYHvXxQsjJfzI8=";
hash = "sha256-BoHT6ejccInfREbYtW6psm3fvsQxLS1vpj/aPDqqpnY=";
};
patches = [
(fetchpatch {
# Fixes tests with lxml>=4.8.0; remove > 2.6.3
url = "https://github.com/Juniper/py-junos-eznc/commit/048f750bb7357b6f6b9db8ad64bea479298c74fb.patch";
hash = "sha256-DYVj0BNPwDSbxDrzHhaq4F4kz1bliXB6Au3I63mRauc=";
})
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "ncclient==0.6.9" "ncclient"
'';
propagatedBuildInputs = [
jinja2
lxml