python3Packages.netdisco: 2.8.2 -> 2.8.3
This commit is contained in:
parent
b9006fcfe9
commit
1e77c6dd66
@ -1,23 +1,24 @@
|
|||||||
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }:
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "netdisco";
|
pname = "netdisco";
|
||||||
version = "2.8.2";
|
version = "2.8.3";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "dcaabf83b204282aacfb213b18799eb7af2d5a6defe529487bbd0548036392fe";
|
sha256 = "sha256-4WS9PiErB6U7QuejTvbrOmnHetbE5S4zaUyhLCbyihM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests zeroconf netifaces ];
|
propagatedBuildInputs = [ requests zeroconf ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [
|
||||||
py.test
|
"netdisco"
|
||||||
'';
|
"netdisco.discovery"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library to scan local network for services and devices";
|
description = "Python library to scan local network for services and devices";
|
||||||
|
Loading…
Reference in New Issue
Block a user