linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / py-multihash / default.nix
blob73307c75b8b81bfecb9e8eedebb539af1e7cadee
1 { base58
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lib
5 , morphys
6 , pytest-runner
7 , pytestCheckHook
8 , pythonOlder
9 , six
10 , varint
13 buildPythonPackage rec {
14   pname = "py-multihash";
15   version = "2.0.1";
16   disabled = pythonOlder "3.4";
18   src = fetchFromGitHub {
19     owner = "multiformats";
20     repo = pname;
21     rev = "v${version}";
22     sha256 = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA=";
23   };
25   nativeBuildInputs = [
26     pytest-runner
27   ];
29   propagatedBuildInputs = [
30     base58
31     morphys
32     six
33     varint
34   ];
36   checkInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [ "multihash" ];
42   meta = with lib; {
43     description = "Self describing hashes - for future proofing";
44     homepage = "https://github.com/multiformats/py-multihash";
45     license = licenses.mit;
46     maintainers = with maintainers; [ rakesh4g ];
47   };