blob: 3e3e16160a5f2ccf83942ef6c231550d3687ba03 (
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
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyserial,
}:
buildPythonPackage rec {
pname = "ppk2-api";
version = "0.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "IRNAS";
repo = "ppk2-api-python";
tag = "v${version}";
hash = "sha256-fubDFtOXiv2YFYUCOUbuyXs1sHgs0/6ZVK9sAwxQ+Pk=";
};
build-system = [ setuptools ];
dependencies = [ pyserial ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "ppk2_api" ];
meta = {
description = "Power Profiling Kit 2 unofficial Python API";
homepage = "https://github.com/IRNAS/ppk2-api-python";
changelog = "https://github.com/IRNAS/ppk2-api-python/releases/tag/v${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|