blob: c7e9f0a07c0ed813cf6a395136c477fb3eca9f10 (
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
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
six,
lxml,
}:
buildPythonPackage rec {
pname = "cmsis-svd";
version = "0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "cmsis-svd";
repo = "cmsis-svd";
tag = "python-${version}";
hash = "sha256-fx9eR9/Nw/oxPaP9rm1G6sjGI7iU4bhkmTS7f8i2RrQ=";
};
preBuild = ''
cd python
'';
build-system = [ setuptools ];
dependencies = [
six
lxml
];
pythonImportsCheck = [
"cmsis_svd"
"cmsis_svd.parser"
];
meta = {
description = "CMSIS SVD parser";
homepage = "https://github.com/cmsis-svd/cmsis-svd";
changelog = "https://github.com/cmsis-svd/cmsis-svd/blob/${src.rev}/CHANGELOG";
maintainers = [ lib.maintainers.dump_stack ];
license = lib.licenses.asl20;
};
}
|