mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
svdtools: 0.1.23 -> 0.2.5
This commit is contained in:
parent
b78d6e2813
commit
59ee57505a
24
pkgs/development/embedded/svdtools/default.nix
Normal file
24
pkgs/development/embedded/svdtools/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "svdtools";
|
||||
version = "0.2.5";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-tN1GC4tQXyaA8bgq7wB/NZEdO14p/0f8BXtgTk6aOzg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-puaveP9a11rlGgsguCfueYXfYSd7Xew8ZRGeDP8WrSI=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools 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-rust.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ newam ];
|
||||
};
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, braceexpand
|
||||
, click
|
||||
, pyyaml
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svdtools";
|
||||
version = "0.1.23";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
hash = "sha256-LuursRuUZEDLbk9Wbnq/S0dsZHbzIJo1YCSVFMUoiog=";
|
||||
};
|
||||
|
||||
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-python.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ newam ];
|
||||
};
|
||||
}
|
@ -14387,7 +14387,7 @@ with pkgs;
|
||||
|
||||
svd2rust = callPackage ../development/tools/rust/svd2rust { };
|
||||
|
||||
svdtools = with python3Packages; toPythonApplication svdtools;
|
||||
svdtools = callPackage ../development/embedded/svdtools { };
|
||||
|
||||
swift = callPackage ../development/compilers/swift { };
|
||||
|
||||
|
@ -10338,8 +10338,6 @@ 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 New Issue
Block a user