summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/netdisco/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-10-29 13:44:00 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-10-29 13:44:00 +0100
commit69931e1eeee1d64dcd623517b63104b85da8f697 (patch)
treec0640a20edfccdf7bba8d6cd5db54b9d6f2f2204 /pkgs/development/python-modules/netdisco/default.nix
parenthome-assistant: 0.81.0 -> 0.81.1 (diff)
downloadnixpkgs-69931e1eeee1d64dcd623517b63104b85da8f697.tar.gz
python3.pkgs.netdisco: 2.0.0 -> 2.2.0
Diffstat (limited to 'pkgs/development/python-modules/netdisco/default.nix')
-rw-r--r--pkgs/development/python-modules/netdisco/default.nix14
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 ];
};
}