python3Packages.svdtools: remove stale substituteInPlace
This commit is contained in:
parent
45ec327c04
commit
7fe8c7fd43
|
@ -12,21 +12,15 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "svdtools";
|
pname = "svdtools";
|
||||||
version = "0.1.22";
|
version = "0.1.22";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version pname;
|
inherit version pname;
|
||||||
sha256 = "sha256-5zMuCFCvh7BXr9BbyyDhWw1Lt/Fomv0SALiPJQbxJNQ=";
|
hash = "sha256-5zMuCFCvh7BXr9BbyyDhWw1Lt/Fomv0SALiPJQbxJNQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# remove upon next release
|
|
||||||
# see: https://github.com/stm32-rs/svdtools/pull/96
|
|
||||||
prePatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace 'PyYAML ~= 5.3' 'PyYAML >= 5.3'
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
braceexpand
|
braceexpand
|
||||||
click
|
click
|
||||||
|
@ -34,9 +28,13 @@ buildPythonPackage rec {
|
||||||
lxml
|
lxml
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "svdtools" ];
|
pythonImportsCheck = [
|
||||||
|
"svdtools"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python package to handle vendor-supplied, often buggy SVD files";
|
description = "Python package to handle vendor-supplied, often buggy SVD files";
|
||||||
|
|
Loading…
Reference in a new issue