mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 23:10:02 +00:00
ced21f5e1a
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`.
22 lines
597 B
Nix
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 ];
|
|
};
|
|
}
|