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