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