git.iko.soy/typeable/nixpkgs
on master help sign in
python3.pkgs.netdisco: 2.0.0 -> 2.2.0
commit69931e1eeee1d64dcd623517b63104b85da8f697 authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateMon 29 Oct 2018, 13:44 (8 years ago) parente987174
1 file changed+5−9
pkgs/development/python-modules/netdisco/default.nix+5−9
pkgs/development/python-modules/netdisco/default.nix+5−9
@@ -1,17 +1,14 @@
1−{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, requests, zeroconf, netifaces, pytest }:
1+{ stdenv, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }:
22
33buildPythonPackage rec {
44 pname = "netdisco";
5− version = "2.0.0";
5+ version = "2.2.0";
66
77 disabled = !isPy3k;
88
9− # PyPI is missing tests/ directory
10− src = fetchFromGitHub {
11− owner = "home-assistant";
12− repo = pname;
13− rev = version;
14− sha256 = "08x5ab7v6a20753y9br7pvfm6a054ywn7y7gh6fydqski0gad6l7";
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "b5e810721a266660f7f90fc43f12c4635ec95c3db87d9e30ca408bb922cb1007";
1512 };
1613
1714 propagatedBuildInputs = [ requests zeroconf netifaces ];
@@ -26,7 +23,6 @@ buildPythonPackage rec {
2623 description = "Python library to scan local network for services and devices";
2724 homepage = https://github.com/home-assistant/netdisco;
2825 license = licenses.asl20;
29− platforms = platforms.unix;
3026 maintainers = with maintainers; [ dotlambda ];
3127 };
3228}