Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, setuptools-scm, requests, six, pytestCheckHook, pyyaml}:
buildPythonPackage rec { pname = "pynetbox"; version = "7.0.1"; format = "setuptools";
src = fetchFromGitHub { owner = "netbox-community"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-RAUM79lDz7oNV7Li987Sz7JoNz/feO6BsEcWO0u/Ub8="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ requests six ];
nativeCheckInputs = [ pytestCheckHook pyyaml ];
disabledTestPaths = [ # requires docker for integration test "tests/integration" ];
meta = with lib; { changelog = "https://github.com/netbox-community/pynetbox/releases/tag/v${version}"; description = "API client library for Netbox"; homepage = "https://github.com/netbox-community/pynetbox"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; };}