Merge pull request #101801 from IvarWithoutBones/fix-multihash

pythonPackages.py-multihash: 0.2.3 -> 1.0.0
This commit is contained in:
Martin Weinelt 2020-11-11 18:02:20 +01:00 committed by GitHub
commit 1da7e9ed4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
{ base58
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, isPy27
, lib
, morphys
@ -14,11 +14,13 @@
buildPythonPackage rec {
pname = "py-multihash";
version = "0.2.3";
version = "1.0.0";
src = fetchPypi {
inherit pname version ;
sha256 = "f0ade4de820afdc4b4aaa40464ec86c9da5cae3a4578cda2daab4b0eb7e5b18d";
src = fetchFromGitHub {
owner = "multiformats";
repo = pname;
rev = "v${version}";
sha256 = "07qglrbgcb8sr9msqw2v7dqj9s4rs6nyvhdnx02i5w6xx5ibzi3z";
};
nativeBuildInputs = [
@ -38,6 +40,8 @@ buildPythonPackage rec {
pytestcov
];
pythonImportsCheck = [ "multihash" ];
disabled = isPy27;
meta = with lib; {