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