Merge pull request #171005 from Luflosi/update/apio
apio: 0.8.0 -> 0.8.1
This commit is contained in:
commit
d982536672
1 changed files with 5 additions and 4 deletions
|
@ -15,19 +15,20 @@
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "apio";
|
pname = "apio";
|
||||||
version = "0.8.0";
|
version = "0.8.1";
|
||||||
format = "flit";
|
format = "flit";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FPGAwars";
|
owner = "FPGAwars";
|
||||||
repo = "apio";
|
repo = "apio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-nOZI+FHdZRnkJF/No8z0mZ4Q5aHFnF7c20ajTPI00N4=";
|
sha256 = "sha256-04qAGTzusMT3GsaRxDoXNJK1Mslzxu+ugQclBJx8xzE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml --replace \
|
substituteInPlace pyproject.toml \
|
||||||
'scons==4.2.0' 'scons'
|
--replace 'scons==4.2.0' 'scons' \
|
||||||
|
--replace '==' '>='
|
||||||
|
|
||||||
substituteInPlace apio/managers/scons.py --replace \
|
substituteInPlace apio/managers/scons.py --replace \
|
||||||
'return "tinyprog --libusb --program"' \
|
'return "tinyprog --libusb --program"' \
|
||||||
|
|
Loading…
Reference in a new issue