mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 09:32:50 +00:00
svdtools: init at 0.1.20
This commit is contained in:
parent
ce036aad8e
commit
24fceb4a93
41
pkgs/development/python-modules/svdtools/default.nix
Normal file
41
pkgs/development/python-modules/svdtools/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, braceexpand
|
||||
, click
|
||||
, pyyaml
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svdtools";
|
||||
version = "0.1.20";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "028s1bn50mfpaygf1wc2mvf06s50wqfplqrkhrjz6kx8vzrmwj72";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
braceexpand
|
||||
click
|
||||
pyyaml
|
||||
lxml
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "svdtools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package to handle vendor-supplied, often buggy SVD files";
|
||||
homepage = "https://github.com/stm32-rs/svdtools";
|
||||
changelog = "https://github.com/stm32-rs/svdtools/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ newam ];
|
||||
};
|
||||
}
|
|
@ -12822,6 +12822,8 @@ with pkgs;
|
|||
|
||||
svd2rust = callPackage ../development/tools/rust/svd2rust { };
|
||||
|
||||
svdtools = with python3Packages; toPythonApplication svdtools;
|
||||
|
||||
swift = callPackage ../development/compilers/swift { };
|
||||
|
||||
swiProlog = callPackage ../development/compilers/swi-prolog {
|
||||
|
|
|
@ -8861,6 +8861,8 @@ in {
|
|||
|
||||
suseapi = callPackage ../development/python-modules/suseapi { };
|
||||
|
||||
svdtools = callPackage ../development/python-modules/svdtools { };
|
||||
|
||||
svg2tikz = callPackage ../development/python-modules/svg2tikz { };
|
||||
|
||||
svglib = callPackage ../development/python-modules/svglib { };
|
||||
|
|
Loading…
Reference in a new issue