python-bitcointx: 1.1.3 -> 1.1.4
This commit is contained in:
parent
1c07c5fa5c
commit
85bbdb857a
4 changed files with 18 additions and 25 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{ lib, buildPythonPackageWithDepsCheck, fetchurl, secp256k1, openssl }:
|
||||
{ lib, buildPythonPackageWithDepsCheck, fetchFromGitHub, secp256k1 }:
|
||||
|
||||
buildPythonPackageWithDepsCheck rec {
|
||||
pname = "python-bitcointx";
|
||||
version = "1.1.3";
|
||||
version = "1.1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Simplexum/${pname}/archive/${pname}-v${version}.tar.gz";
|
||||
sha256 = "f0f487c29619df0e94a04f6deb3dc950ff9954c072017bd3eda90f73c24f0953";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Simplexum";
|
||||
repo = "python-bitcointx";
|
||||
rev = "python-bitcointx-v${version}";
|
||||
hash = "sha256-y8/cyLQr3GbpYqCg8LKTfyL0OX7eIo5AxjdFTWTqHmk=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
|
@ -14,8 +16,6 @@ buildPythonPackageWithDepsCheck rec {
|
|||
substituteInPlace "bitcointx/$path" \
|
||||
--replace "ctypes.util.find_library('secp256k1')" "'${secp256k1}/lib/libsecp256k1.so'"
|
||||
done
|
||||
substituteInPlace bitcointx/core/key.py \
|
||||
--replace "ctypes.util.find_library('ssl')" "'${openssl.out}/lib/libssl.so'"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue