nixpkgs/pkgs/development/python-modules/zeroconf/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

22 lines
597 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, netifaces, six, enum-compat }:
buildPythonPackage rec {
pname = "zeroconf";
version = "0.20.0";
src = fetchPypi {
inherit pname version;
sha256 = "6e3f1e7b5871e3d1410ac29b9fb85aafc1e2d661ed596b07a6f84559a475efcb";
};
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 ];
};
}