nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 687 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "py-machineid"; 10 version = "1.0.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 pname = "py_machineid"; 15 inherit version; 16 hash = "sha256-ipAqAProxtZDP0Y2l8IdxM6YxuVaLgU1wCczGaywBHo="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 pythonImportsCheck = [ "machineid" ]; 22 23 # Tests are not present in Pypi archive 24 doCheck = false; 25 26 meta = { 27 description = "Get the unique machine ID of any host (without admin privileges)"; 28 homepage = "https://github.com/keygen-sh/py-machineid"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ GaetanLepage ]; 31 }; 32}