nixpkgs-suyu/pkgs/development/python-modules/cmsis-svd/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
641 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, six }:
buildPythonPackage rec {
pname = "cmsis-svd";
version = "0.4";
format = "setuptools";
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;
};
}