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