python.pkgs.zeroconf: move to separate expression
This commit is contained in:
committed by
Jörg Thalheim
parent
d437a722af
commit
2857dbd497
22
pkgs/development/python-modules/zeroconf/default.nix
Normal file
22
pkgs/development/python-modules/zeroconf/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, netifaces, six, enum-compat }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.18.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s1840v2h4h19ad8lfadbm3dhzs8bw9c5c3slkxql1zsaiycvjy2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ netifaces six enum-compat ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pure python implementation of multicast DNS service discovery";
|
||||
homepage = "https://github.com/jstasiak/python-zeroconf";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user