pythonPackages.opentimestamps: relax bitcoinlib dependency

Upstream: https://github.com/opentimestamps/python-opentimestamps/pull/43
This commit is contained in:
Martin Milata 2020-05-31 15:07:46 +02:00
parent 50bf5e5d8c
commit e1f4e114d5

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k { lib, buildPythonPackage, fetchFromGitHub, fetchpatch, isPy3k
, bitcoinlib, GitPython, pysha3, git }: , bitcoinlib, GitPython, pysha3, git }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,6 +15,14 @@ buildPythonPackage rec {
sha256 = "0c45ij8absfgwizq6dfgg81siq3y8605sgg184vazp292w8nqmqr"; sha256 = "0c45ij8absfgwizq6dfgg81siq3y8605sgg184vazp292w8nqmqr";
}; };
patches = [
# build against bitcoinlib-0.11
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/opentimestamps/python-opentimestamps/pull/43.patch";
sha256 = "0bxzk4pzpqk7zrk2x7vn2bj2n3pc5whf8ijbd225s6674q450zbg";
})
];
# Remove a failing test which expects the test source file to reside in the # Remove a failing test which expects the test source file to reside in the
# project's Git repo # project's Git repo
postPatch = '' postPatch = ''