about summary refs log tree commit diff
path: root/pkgs/development/python-modules/base58check/default.nix
blob: e81eca6e137d68ec4eb46ca91325ccd162f2601c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "base58check";
  version = "1.0.2";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "joeblackwaslike";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-Tig6beLRDsXC//x4+t/z2BGaJQWzcP0J+QEKx3D0rhs=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "base58check"
  ];

  meta = with lib; {
    description = "Implementation of the Base58Check encoding scheme";
    homepage = "https://github.com/joeblackwaslike/base58check";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}