mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
Merge pull request #61273 from nyanloutre/block_io_update_1_1_10
pythonPackages.block-io: 1.1.9 -> 1.1.10
This commit is contained in:
commit
3aac8d026b
@ -1,21 +1,14 @@
|
||||
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six }:
|
||||
{ stdenv, fetchPypi, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "block-io";
|
||||
version = "1.1.9";
|
||||
version = "1.1.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4909d58b32ab7f93d3cd83fa4bbe4edef42ab7566f016bdb6a405a0d8b1907c9";
|
||||
sha256 = "ba2e750085d9da4d1567932f3f719974fdc3f02649ee0d5c2f85fce592208723";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/BlockIo/block_io-python/commit/8ec0a0cd1afcfcb439d6dc306d8497dd9e4a0993.patch";
|
||||
sha256 = "1i6c153wvkr5ncm3cpn34faxvavz534x5kndwn4adlaxlzq30snn";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
base58
|
||||
ecdsa
|
||||
@ -24,6 +17,11 @@ buildPythonPackage rec {
|
||||
six
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "ecdsa==0.13" "ecdsa>=0.13"
|
||||
'';
|
||||
|
||||
# Tests needs a BlockIO API key to run properly
|
||||
# https://github.com/BlockIo/block_io-python/blob/79006bc8974544b70a2d8e9f19c759941d32648e/test.py#L18
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user