chia: relax all version constraints
This commit is contained in:
parent
1b5b70a373
commit
9177f704bd
1 changed files with 7 additions and 11 deletions
|
@ -26,6 +26,13 @@ let chia = python3Packages.buildPythonApplication rec {
|
|||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "==" ">="
|
||||
|
||||
ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3Packages.setuptools-scm
|
||||
];
|
||||
|
@ -75,17 +82,6 @@ let chia = python3Packages.buildPythonApplication rec {
|
|||
"test_using_legacy_keyring"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# tweak version requirements to what's available in Nixpkgs
|
||||
substituteInPlace setup.py \
|
||||
--replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \
|
||||
--replace "sortedcontainers==2.3.0" "sortedcontainers>=2.3.0" \
|
||||
--replace "click==7.1.2" "click>=7.1.2" \
|
||||
--replace "clvm==0.9.7" "clvm>=0.9.7" \
|
||||
|
||||
ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export HOME=`mktemp -d`
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue