Merge pull request #330123 from msanft/cmsis-svd/setuptools

python312Packages.cmsis-svd: 0.4 -> 0.4-unstable-2024-01-25
This commit is contained in:
kirillrdy
2024-07-29 06:27:18 +10:00
committed by GitHub
@@ -2,33 +2,43 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
six,
lxml,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "cmsis-svd";
version = "0.4";
format = "setuptools";
version = "0.4-unstable-2024-01-25";
pyproject = true;
src = fetchFromGitHub {
owner = "posborne";
repo = pname;
rev = "python-${version}";
sha256 = "01f2z01gqgx0risqnbrlaqj49fmly30zbwsf7rr465ggnl2c04r0";
owner = "cmsis-svd";
repo = "cmsis-svd";
rev = "38d21d30abd0d4c2f34fd79d83b34392ed4bb7a3";
hash = "sha256-lFA0sNHVj4a4+EwOTmFUbM/nhmzJ4mx4GvT6Ykutakk=";
};
preConfigure = ''
preBuild = ''
cd python
'';
propagatedBuildInputs = [ six ];
build-system = [ setuptools ];
pythonImportsCheck = [ "cmsis_svd" ];
dependencies = [
six
lxml
];
meta = with lib; {
pythonImportsCheck = [
"cmsis_svd"
"cmsis_svd.parser"
];
meta = {
description = "CMSIS SVD parser";
homepage = "https://github.com/posborne/cmsis-svd";
maintainers = with maintainers; [ dump_stack ];
license = licenses.asl20;
homepage = "https://github.com/cmsis-svd/cmsis-svd";
maintainers = [ lib.maintainers.dump_stack ];
license = lib.licenses.asl20;
};
}