1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 pytestCheckHook,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "base58check";
11 version = "1.0.2";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchFromGitHub {
17 owner = "joeblackwaslike";
18 repo = "base58check";
19 rev = "v${version}";
20 hash = "sha256-Tig6beLRDsXC//x4+t/z2BGaJQWzcP0J+QEKx3D0rhs=";
21 };
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "base58check" ];
26
27 meta = with lib; {
28 description = "Implementation of the Base58Check encoding scheme";
29 homepage = "https://github.com/joeblackwaslike/base58check";
30 license = licenses.mit;
31 maintainers = with maintainers; [ fab ];
32 };
33}