blob: dc4d589327c7a63171ad1568c4e4c7698d4e146c (
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
|
{
lib,
buildPythonPackage,
click,
ecdsa,
hidapi,
fetchPypi,
pyaes,
}:
buildPythonPackage rec {
pname = "ckcc-protocol";
version = "1.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-zZPU0+MwjqRYCqa+W0YTqCZv2WsMwa9R5xaN7ye77OU=";
};
propagatedBuildInputs = [
click
ecdsa
hidapi
pyaes
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ckcc" ];
meta = {
description = "Communicate with your Coldcard using Python";
mainProgram = "ckcc";
homepage = "https://github.com/Coldcard/ckcc-protocol";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hkjn ];
};
}
|