blob: 5595a19f22ec09c1346da5eb60fa5031154bba70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "py-machineid";
version = "1.0.0";
pyproject = true;
src = fetchPypi {
pname = "py_machineid";
inherit version;
hash = "sha256-ipAqAProxtZDP0Y2l8IdxM6YxuVaLgU1wCczGaywBHo=";
};
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 ];
};
}
|