summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/base58check/default.nix
blob: 378f7f84fc1be25a0b84f490497b259864f09406 (plain)
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
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "base58check";
  version = "1.0.2";
  pyproject = true;

  __structuredAttrs = true;

  build-system = [ setuptools ];

  src = fetchFromGitHub {
    owner = "joeblackwaslike";
    repo = "base58check";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Tig6beLRDsXC//x4+t/z2BGaJQWzcP0J+QEKx3D0rhs=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "base58check" ];

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