python3.pkgs.netdisco: 2.0.0 -> 2.2.0

This commit is contained in:
Robert Schütz 2018-10-29 13:44:00 +01:00
parent e9871745a1
commit 69931e1eee

View File

@ -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 ];
};
}