pythonPackages.netifaces: refactor move to python-modules
This commit is contained in:
parent
667782f8f1
commit
0660849bdc
21
pkgs/development/python-modules/netifaces/default.nix
Normal file
21
pkgs/development/python-modules/netifaces/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.10.6";
|
||||||
|
pname = "netifaces";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1q7bi5k2r955rlcpspx4salvkkpk28jky67fjbpz2dkdycisak8c";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://alastairs-place.net/projects/netifaces/;
|
||||||
|
description = "Portable access to network interfaces from Python";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2955,20 +2955,7 @@ in {
|
|||||||
|
|
||||||
netaddr = callPackage ../development/python-modules/netaddr { };
|
netaddr = callPackage ../development/python-modules/netaddr { };
|
||||||
|
|
||||||
netifaces = buildPythonPackage rec {
|
netifaces = callPackage ../development/python-modules/netifaces { };
|
||||||
version = "0.10.6";
|
|
||||||
name = "netifaces-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/n/netifaces/${name}.tar.gz";
|
|
||||||
sha256 = "1q7bi5k2r955rlcpspx4salvkkpk28jky67fjbpz2dkdycisak8c";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://alastairs-place.net/projects/netifaces/;
|
|
||||||
description = "Portable access to network interfaces from Python";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hpack = buildPythonPackage rec {
|
hpack = buildPythonPackage rec {
|
||||||
name = "hpack-${version}";
|
name = "hpack-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user