Merge pull request #171005 from Luflosi/update/apio

apio: 0.8.0 -> 0.8.1
This commit is contained in:
Mario Rodas 2022-04-30 19:27:36 -05:00 committed by GitHub
commit d982536672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,19 +15,20 @@
buildPythonApplication rec {
pname = "apio";
version = "0.8.0";
version = "0.8.1";
format = "flit";
src = fetchFromGitHub {
owner = "FPGAwars";
repo = "apio";
rev = "v${version}";
sha256 = "sha256-nOZI+FHdZRnkJF/No8z0mZ4Q5aHFnF7c20ajTPI00N4=";
sha256 = "sha256-04qAGTzusMT3GsaRxDoXNJK1Mslzxu+ugQclBJx8xzE=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace \
'scons==4.2.0' 'scons'
substituteInPlace pyproject.toml \
--replace 'scons==4.2.0' 'scons' \
--replace '==' '>='
substituteInPlace apio/managers/scons.py --replace \
'return "tinyprog --libusb --program"' \