python312Packages.py-machineid: init at 0.6.0

This commit is contained in:
Gaetan Lepage 2024-02-10 20:23:04 +01:00
parent cefe8a71e7
commit 6cb290f669
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "py-machineid";
version = "0.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-AMONhSHUKaRTm92SlnI02yihorSyYwYrNRygAjMuYz8=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "machineid" ];
# Tests are not present in Pypi archive
doCheck = false;
meta = {
description = "Get the unique machine ID of any host (without admin privileges)";
homepage = "https://github.com/keygen-sh/py-machineid";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -9388,6 +9388,8 @@ self: super: with self; {
py-expression-eval = callPackage ../development/python-modules/py-expression-eval { };
py-machineid = callPackage ../development/python-modules/py-machineid { };
py-opensonic = callPackage ../development/python-modules/py-opensonic { };
py-radix-sr = callPackage ../development/python-modules/py-radix-sr { };