mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
python3Packages.netutils: 1.17.2 -> 1.18.0
Diff: https://github.com/networktocode/netutils/compare/v1.17.2...v1.18.0 Changelog: https://github.com/networktocode/netutils/releases/tag/v1.18.0
This commit is contained in:
@@ -8,19 +8,20 @@
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
rpds-py,
|
||||
toml,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "netutils";
|
||||
version = "1.17.2";
|
||||
version = "1.18.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "networktocode";
|
||||
repo = "netutils";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DHftRRqbuUa74ATfh8MHxINwNkpz9lo/drwOmeo0itE=";
|
||||
hash = "sha256-1pfuuvJ3ze2MYW9IX3oCDZ/VRvuytdl3ZnMQOTjOEOs=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@@ -28,16 +29,18 @@ buildPythonPackage (finalAttrs: {
|
||||
dependencies = [ jsonschema ];
|
||||
|
||||
optional-dependencies.optionals = [
|
||||
jinja2
|
||||
jsonschema
|
||||
napalm
|
||||
rpds-py
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jinja2
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
toml
|
||||
];
|
||||
]
|
||||
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "netutils" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user