1{ stdenv, buildPythonPackage, fetchPypi 2, netifaces, six, enum-compat }: 3 4buildPythonPackage rec { 5 pname = "zeroconf"; 6 version = "0.19.1"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0ykzg730n915qbrq9bn5pn06bv6rb5zawal4sqjyfnjjm66snkj3"; 12 }; 13 14 propagatedBuildInputs = [ netifaces six enum-compat ]; 15 16 meta = with stdenv.lib; { 17 description = "A pure python implementation of multicast DNS service discovery"; 18 homepage = https://github.com/jstasiak/python-zeroconf; 19 license = licenses.lgpl21; 20 maintainers = with maintainers; [ abbradar ]; 21 }; 22}