pythonPackages.bitcoinlib: 0.9.0 -> 0.11.0
Upstream is python3-only now.
This commit is contained in:
parent
2a16738d41
commit
50bf5e5d8c
@ -1,15 +1,17 @@
|
|||||||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, openssl }:
|
{ stdenv, lib, buildPythonPackage, isPy3k, fetchFromGitHub, openssl }:
|
||||||
|
|
||||||
let ext = if stdenv.isDarwin then "dylib" else "so";
|
let ext = if stdenv.isDarwin then "dylib" else "so";
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "bitcoinlib";
|
pname = "bitcoinlib";
|
||||||
version = "0.9.0";
|
version = "0.11.0";
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "petertodd";
|
owner = "petertodd";
|
||||||
rev = "7a8a47ec6b722339de1d0a8144e55b400216f90f";
|
|
||||||
repo = "python-bitcoinlib";
|
repo = "python-bitcoinlib";
|
||||||
sha256 = "1s1jm2nid7ab7yiwlp1n2v3was9i4q76xmm07wvzpd2zvn5zb91z";
|
rev = "python-${pname}-v${version}";
|
||||||
|
sha256 = "0pwypd966zzivb37fvg4l6yr7ihplqnr1jwz9zm3biip7x89bdzm";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -21,7 +23,7 @@ in buildPythonPackage rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
description = "Easy interface to the Bitcoin data structures and protocol";
|
description = "Easy interface to the Bitcoin data structures and protocol";
|
||||||
license = with lib.licenses; [ gpl3 ];
|
license = with lib.licenses; [ lgpl3 ];
|
||||||
maintainers = with lib.maintainers; [ jb55 ];
|
maintainers = with lib.maintainers; [ jb55 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user