11 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
17 owner = "netbox-community";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-rYqwZIqcNeSpXsICL8WGLJ3Tcnwnnm6gvRBEJ/5iE/Q=";
23 SETUPTOOLS_SCM_PRETEND_VERSION = version;
29 propagatedBuildInputs = [
40 # requires docker for integration test
45 changelog = "https://github.com/netbox-community/pynetbox/releases/tag/v${version}";
46 description = "API client library for Netbox";
47 homepage = "https://github.com/netbox-community/pynetbox";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ hexa ];