blob: e9aefac4807759ff979a09e55da156c9fecc50b4 (
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,
fetchFromGitHub,
certifi,
cryptography,
ecdsa,
pyaes,
pyopenssl,
pyscard,
}:
buildPythonPackage rec {
pname = "pysatochip";
version = "0.17.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "toporin";
repo = "pysatochip";
tag = "v${version}";
hash = "sha256-9QenE9YpgrKwiN9kpS+KWdqFeba7AGXDneW5p+9/t1A=";
};
propagatedBuildInputs = [
cryptography
ecdsa
pyaes
pyopenssl
pyscard
];
nativeCheckInputs = [ certifi ];
pythonImportsCheck = [ "pysatochip" ];
meta = {
description = "Simple python library to communicate with a Satochip hardware wallet";
homepage = "https://github.com/Toporin/pysatochip";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ oxalica ];
};
}
|