Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 621 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 version = "0.11.0"; 9 pname = "netifaces"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-BDp5FG6ykH7fQ5iZ8mKz3+QXF9NBJCmO0oETmouTyjI="; 17 }; 18 19 # No tests implemented 20 doCheck = false; 21 22 pythonImportsCheck = [ 23 "netifaces" 24 ]; 25 26 meta = with lib; { 27 description = "Portable access to network interfaces from Python"; 28 homepage = "https://github.com/al45tair/netifaces"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ ]; 31 }; 32}