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