python3Packages.bip_utils: 1.4.0 -> 1.5.0

fetch sources from GitHub instead of PyPI to enable tests
This commit is contained in:
Pavol Rusnak 2020-10-02 22:19:23 +02:00
parent 6148b0e59f
commit f1057db809
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

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"
];