forked from mirrors/nixpkgs
python3.pkgs.netdisco: 2.0.0 -> 2.2.0
This commit is contained in:
parent
e9871745a1
commit
69931e1eee
1 changed files with 5 additions and 9 deletions
|
@ -1,17 +1,14 @@
|
||||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, requests, zeroconf, netifaces, pytest }:
|
{ stdenv, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "netdisco";
|
pname = "netdisco";
|
||||||
version = "2.0.0";
|
version = "2.2.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
# PyPI is missing tests/ directory
|
src = fetchPypi {
|
||||||
src = fetchFromGitHub {
|
inherit pname version;
|
||||||
owner = "home-assistant";
|
sha256 = "b5e810721a266660f7f90fc43f12c4635ec95c3db87d9e30ca408bb922cb1007";
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "08x5ab7v6a20753y9br7pvfm6a054ywn7y7gh6fydqski0gad6l7";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests zeroconf netifaces ];
|
propagatedBuildInputs = [ requests zeroconf netifaces ];
|
||||||
|
@ -26,7 +23,6 @@ buildPythonPackage rec {
|
||||||
description = "Python library to scan local network for services and devices";
|
description = "Python library to scan local network for services and devices";
|
||||||
homepage = https://github.com/home-assistant/netdisco;
|
homepage = https://github.com/home-assistant/netdisco;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue