From 69931e1eeee1d64dcd623517b63104b85da8f697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 29 Oct 2018 13:44:00 +0100 Subject: [PATCH] python3.pkgs.netdisco: 2.0.0 -> 2.2.0 --- .../python-modules/netdisco/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/netdisco/default.nix b/pkgs/development/python-modules/netdisco/default.nix index 1e404370284..036d6f9dea7 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 ]; }; }