mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
Merge pull request #122012 from dotlambda/netdisco-2.8.3
python3Packages.netdisco: 2.8.2 -> 2.8.3
This commit is contained in:
commit
4f09b04320
@ -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";
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.29.0";
|
||||
version = "0.30.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-eu+7ZYtFKx/X5REkNk+TjG9eQtbqiT+iVXvqjAbFQK8=";
|
||||
sha256 = "sha256-elpjZq4FpI2wTf1ciILumKE/LQ4fxtCaXxvQo9HRCcc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ifaddr ];
|
||||
@ -25,6 +25,7 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTests = [
|
||||
# disable tests that expect some sort of networking in the build container
|
||||
"test_close_multiple_times"
|
||||
"test_launch_and_close"
|
||||
"test_launch_and_close_v4_v6"
|
||||
"test_launch_and_close_v6_only"
|
||||
|
@ -22,14 +22,14 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "expliot";
|
||||
version = "0.9.7";
|
||||
version = "0.9.8";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "expliot_framework";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-k43PvH9BXcvxe7O5iCGzLuxv/WkB9YelH/d/1S7BpU0=";
|
||||
sha256 = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user