lol

python3Packages.py-multihash: 1.0.0 -> 2.0.1

https://github.com/multiformats/py-multihash/releases/tag/v2.0.1

The `variants` package is not in the list of requirements for py-multihash, so remove it.
Switch to `pytestCheckHook` for the tests instead of using `pytest`.
Also slightly change the Python version requirements check.

Luflosi 7a6d18c8 28430d1e

+8 -13
+8 -13
pkgs/development/python-modules/py-multihash/default.nix
··· 1 { base58 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , isPy27 5 , lib 6 , morphys 7 - , pytest 8 - , pytestcov 9 - , pytestrunner 10 , six 11 - , variants 12 , varint 13 }: 14 15 buildPythonPackage rec { 16 pname = "py-multihash"; 17 - version = "1.0.0"; 18 19 src = fetchFromGitHub { 20 owner = "multiformats"; 21 repo = pname; 22 rev = "v${version}"; 23 - sha256 = "07qglrbgcb8sr9msqw2v7dqj9s4rs6nyvhdnx02i5w6xx5ibzi3z"; 24 }; 25 26 nativeBuildInputs = [ 27 - pytestrunner 28 ]; 29 30 propagatedBuildInputs = [ 31 base58 32 morphys 33 six 34 - variants 35 varint 36 ]; 37 38 checkInputs = [ 39 - pytest 40 - pytestcov 41 ]; 42 43 pythonImportsCheck = [ "multihash" ]; 44 - 45 - disabled = isPy27; 46 47 meta = with lib; { 48 description = "Self describing hashes - for future proofing";
··· 1 { base58 2 , buildPythonPackage 3 , fetchFromGitHub 4 , lib 5 , morphys 6 + , pytest-runner 7 + , pytestCheckHook 8 + , pythonOlder 9 , six 10 , varint 11 }: 12 13 buildPythonPackage rec { 14 pname = "py-multihash"; 15 + version = "2.0.1"; 16 + disabled = pythonOlder "3.4"; 17 18 src = fetchFromGitHub { 19 owner = "multiformats"; 20 repo = pname; 21 rev = "v${version}"; 22 + sha256 = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA="; 23 }; 24 25 nativeBuildInputs = [ 26 + pytest-runner 27 ]; 28 29 propagatedBuildInputs = [ 30 base58 31 morphys 32 six 33 varint 34 ]; 35 36 checkInputs = [ 37 + pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "multihash" ]; 41 42 meta = with lib; { 43 description = "Self describing hashes - for future proofing";