python3Packages.netdisco: 2.8.2 -> 2.8.3

This commit is contained in:
Robert Schütz 2021-05-07 12:10:49 +02:00
parent b9006fcfe9
commit 1e77c6dd66

View file

@ -1,23 +1,24 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }:
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
buildPythonPackage rec {
pname = "netdisco";
version = "2.8.2";
version = "2.8.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "dcaabf83b204282aacfb213b18799eb7af2d5a6defe529487bbd0548036392fe";
sha256 = "sha256-4WS9PiErB6U7QuejTvbrOmnHetbE5S4zaUyhLCbyihM=";
};
propagatedBuildInputs = [ requests zeroconf netifaces ];
propagatedBuildInputs = [ requests zeroconf ];
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
checkPhase = ''
py.test
'';
pythonImportsCheck = [
"netdisco"
"netdisco.discovery"
];
meta = with lib; {
description = "Python library to scan local network for services and devices";