Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
864 B · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, setuptools, mock, netaddr, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyeapi"; version = "1.0.2"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "arista-eosplus"; repo = pname; rev = "refs/tags/v${version}"; sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ netaddr ];
nativeCheckInputs = [ mock pytestCheckHook ];
pytestFlagsArray = [ "test/unit" ];
pythonImportsCheck = [ "pyeapi" ];
meta = with lib; { description = "Client for Arista eAPI"; homepage = "https://github.com/arista-eosplus/pyeapi"; license = licenses.bsd3; maintainers = with maintainers; [ astro ]; };}