lol

python310Packages.netifaces: add format

- disable on obsolete Python releases

+12 -5
+12 -5
pkgs/development/python-modules/netifaces/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , pythonOlder 4 5 }: 5 6 6 7 buildPythonPackage rec { 7 8 version = "0.11.0"; 8 9 pname = "netifaces"; 10 + format = "setuptools"; 11 + 12 + disabled = pythonOlder "3.7"; 9 13 10 14 src = fetchPypi { 11 15 inherit pname version; 12 - sha256 = "043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32"; 16 + hash = "sha256-BDp5FG6ykH7fQ5iZ8mKz3+QXF9NBJCmO0oETmouTyjI="; 13 17 }; 14 18 15 - doCheck = false; # no tests implemented 19 + # No tests implemented 20 + doCheck = false; 16 21 17 - pythonImportsCheck = [ "netifaces" ]; 22 + pythonImportsCheck = [ 23 + "netifaces" 24 + ]; 18 25 19 26 meta = with lib; { 20 - homepage = "https://alastairs-place.net/projects/netifaces/"; 21 27 description = "Portable access to network interfaces from Python"; 28 + homepage = "https://github.com/al45tair/netifaces"; 22 29 license = licenses.mit; 30 + maintainers = with maintainers; [ ]; 23 31 }; 24 - 25 32 }