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