diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-10-29 13:44:00 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-10-29 13:44:00 +0100 |
commit | 69931e1eeee1d64dcd623517b63104b85da8f697 (patch) | |
tree | c0640a20edfccdf7bba8d6cd5db54b9d6f2f2204 /pkgs/development/python-modules | |
parent | e9871745a13e7bfc819c592b875167a286701aeb (diff) | |
download | nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar.gz nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar.bz2 nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar.lz nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar.xz nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.tar.zst nixlib-69931e1eeee1d64dcd623517b63104b85da8f697.zip |
python3.pkgs.netdisco: 2.0.0 -> 2.2.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/netdisco/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/netdisco/default.nix b/pkgs/development/python-modules/netdisco/default.nix index 1e404370284c..036d6f9dea7c 100644 --- a/pkgs/development/python-modules/netdisco/default.nix +++ b/pkgs/development/python-modules/netdisco/default.nix @@ -1,17 +1,14 @@ -{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, requests, zeroconf, netifaces, pytest }: +{ stdenv, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }: buildPythonPackage rec { pname = "netdisco"; - version = "2.0.0"; + version = "2.2.0"; disabled = !isPy3k; - # PyPI is missing tests/ directory - src = fetchFromGitHub { - owner = "home-assistant"; - repo = pname; - rev = version; - sha256 = "08x5ab7v6a20753y9br7pvfm6a054ywn7y7gh6fydqski0gad6l7"; + src = fetchPypi { + inherit pname version; + sha256 = "b5e810721a266660f7f90fc43f12c4635ec95c3db87d9e30ca408bb922cb1007"; }; propagatedBuildInputs = [ requests zeroconf netifaces ]; @@ -26,7 +23,6 @@ buildPythonPackage rec { description = "Python library to scan local network for services and devices"; homepage = https://github.com/home-assistant/netdisco; license = licenses.asl20; - platforms = platforms.unix; maintainers = with maintainers; [ dotlambda ]; }; } |