Loading pkgs/development/python-modules/getmac/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -7,27 +7,30 @@ pytest-mock, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "getmac"; version = "0.9.5"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "GhostofGoes"; repo = pname; repo = "getmac"; tag = version; hash = "sha256-ZbTCbbASs7+ChmgcDePXSbiHOst6/eCkq9SiKgYhFyM="; }; build-system = [ setuptools ]; nativeCheckInputs = [ py pytestCheckHook pytest-benchmark pytest-mock pytestCheckHook ]; disabledTests = [ Loading @@ -42,14 +45,16 @@ buildPythonPackage rec { "test_initialize_method_cache_valid_types" ]; pytestFlagsArray = [ "--benchmark-disable" ]; pythonImportsCheck = [ "getmac" ]; meta = with lib; { description = "Python package to get the MAC address of network interfaces and hosts on the local network"; mainProgram = "getmac"; homepage = "https://github.com/GhostofGoes/getmac"; changelog = "https://github.com/GhostofGoes/getmac/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/GhostofGoes/getmac/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ]; mainProgram = "getmac"; }; } Loading
pkgs/development/python-modules/getmac/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -7,27 +7,30 @@ pytest-mock, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "getmac"; version = "0.9.5"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "GhostofGoes"; repo = pname; repo = "getmac"; tag = version; hash = "sha256-ZbTCbbASs7+ChmgcDePXSbiHOst6/eCkq9SiKgYhFyM="; }; build-system = [ setuptools ]; nativeCheckInputs = [ py pytestCheckHook pytest-benchmark pytest-mock pytestCheckHook ]; disabledTests = [ Loading @@ -42,14 +45,16 @@ buildPythonPackage rec { "test_initialize_method_cache_valid_types" ]; pytestFlagsArray = [ "--benchmark-disable" ]; pythonImportsCheck = [ "getmac" ]; meta = with lib; { description = "Python package to get the MAC address of network interfaces and hosts on the local network"; mainProgram = "getmac"; homepage = "https://github.com/GhostofGoes/getmac"; changelog = "https://github.com/GhostofGoes/getmac/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/GhostofGoes/getmac/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ]; mainProgram = "getmac"; }; }