Merge pull request #111638 from jollheef/cmsis-svd

python3Packages.cmsis-svd: init at 0.4
This commit is contained in:
Sandro 2021-02-02 19:57:56 +01:00 committed by GitHub
commit c13dc4a5d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, six }:
buildPythonPackage rec {
pname = "cmsis-svd";
version = "0.4";
src = fetchFromGitHub {
owner = "posborne";
repo = pname;
rev = "python-${version}";
sha256 = "01f2z01gqgx0risqnbrlaqj49fmly30zbwsf7rr465ggnl2c04r0";
};
preConfigure = ''
cd python
'';
propagatedBuildInputs = [ six ];
pythonImportsCheck = [ "cmsis_svd" ];
meta = with lib; {
description = "CMSIS SVD parser";
homepage = "https://github.com/posborne/cmsis-svd";
maintainers = with maintainers; [ dump_stack ];
license = licenses.asl20;
};
}

View file

@ -1349,6 +1349,8 @@ in {
cmdtest = callPackage ../development/python-modules/cmdtest { };
cmsis-svd = callPackage ../development/python-modules/cmsis-svd { };
cntk = callPackage ../development/python-modules/cntk { };
cnvkit = callPackage ../development/python-modules/cnvkit { };