depot/third_party/nixpkgs/pkgs/development/python-modules/cmsis-svd/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
616 B
Nix

{ 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;
};
}