blob: 5466ecc2a7b9a36ef2cadc38689521d38515b867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "netifaces-plus";
version = "0.12.4";
pyproject = true;
src = fetchFromGitHub {
owner = "tsukumijima";
repo = "netifaces-plus";
tag = "release_${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-3CYAe0doWMagcUIN9+ikH9gEST9AqglSQDlZsKOMnC8=";
};
build-system = [
setuptools
wheel
];
pythonImportsCheck = [ "netifaces" ];
meta = {
description = "Portable network interface information";
homepage = "https://github.com/tsukumijima/netifaces-plus";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
};
}
|