blob: 7911402225bb4923611a0f05915983d259198fe3 (
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
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchPypi,
pyhamcrest,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "base58";
version = "2.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-xdDLP1tugejjXaV1Q4jdzG0NFLbGoTLLk9ae1YCnJ4w=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pyhamcrest
pytestCheckHook
];
disabledTests = [
# avoid dependency on pytest-benchmark
"test_decode_random"
"test_encode_random"
];
pythonImportsCheck = [ "base58" ];
meta = {
description = "Base58 and Base58Check implementation";
homepage = "https://github.com/keis/base58";
changelog = "https://github.com/keis/base58/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nyanloutre ];
mainProgram = "base58";
};
}
|