Merge pull request #99419 from prusnak/bip_utils

python3Packages.bip_utils: 1.4.0 -> 1.5.0
This commit is contained in:
Martin Weinelt 2020-10-02 23:09:31 +02:00 committed by GitHub
commit 1a5bbecbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, ecdsa
, pysha3
@ -8,20 +8,19 @@
buildPythonPackage rec {
pname = "bip_utils";
version = "1.4.0";
version = "1.5.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "582022ab5c1ff35d0179a22a39c90b7e4e71e4641d59b2a3e81d60df741d1e3c";
src = fetchFromGitHub {
owner = "ebellocchia";
repo = pname;
rev = "v${version}";
sha256 = "06ls1lara7sklqw6wrw5d3wpxwgyv6paxwjp37x7b3kfskm14cmd";
};
propagatedBuildInputs = [ ecdsa pysha3 ];
# tests are not packaged in the released tarball
doCheck = false;
pythonImportsCheck = [
"bip_utils"
];