1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 base58,
7 cryptography,
8 ecdsa,
9}:
10
11buildPythonPackage rec {
12 pname = "slip10";
13 version = "1.0.1";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-ArNQrlV7WReRQosXVR+V16xX6SEfN969yBTJC0oSOlQ=";
19 };
20
21 build-system = [ poetry-core ];
22
23 propagatedBuildInputs = [
24 base58
25 cryptography
26 ecdsa
27 ];
28
29 pythonImportsCheck = [ "slip10" ];
30
31 meta = with lib; {
32 description = "Minimalistic implementation of SLIP109";
33 homepage = "https://github.com/trezor/python-slip10";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [
36 prusnak
37 ];
38 };
39}