git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.ckcc-protocol: init at 0.8.0

The ckcc-protocol package installs https://github.com/Coldcard/ckcc-protocol, which allows communication with the https://coldcardwallet.com/ hardware wallet.

commiteb33f2050a6c3009529a1e7f867121350c9f1afe authorHenrik Jonsson <me@hkjn.me> dateMon 12 Aug 2019, 02:08 (7 years ago) parent856d0a4
2 files changed+37
pkgs/development/python-modules/ckcc-protocol/default.nix+35 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/ckcc-protocol/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv
2+, buildPythonPackage
3+, click
4+, ecdsa
5+, hidapi
6+, lib
7+, fetchPypi
8+, pytest
9+, pyaes
10+, pythonOlder
11+}:
12+
13+buildPythonPackage rec {
14+ pname = "ckcc-protocol";
15+ version = "0.8.0";
16+ disabled = pythonOlder "3.6";
17+
18+ src = fetchPypi {
19+ inherit pname version;
20+ sha256 = "1mbs9l8qycy50j5lq6az7l5d8i40nb0vmlyhcyax298qp6c1r1gh";
21+ };
22+
23+ checkInputs = [
24+ pytest
25+ ];
26+
27+ propagatedBuildInputs = [ click ecdsa hidapi pyaes ];
28+
29+ meta = with stdenv.lib; {
30+ description = "Communicate with your Coldcard using Python";
31+ homepage = https://github.com/Coldcard/ckcc-protocol;
32+ license = licenses.gpl3;
33+ maintainers = [ maintainers.hkjn ];
34+ };
35+}
pkgs/top-level/python-packages.nix+2
@@ -6134,6 +6134,8 @@ in {
61346134 inherit (pkgs) udev libusb1;
61356135 };
61366136
6137+ ckcc-protocol = callPackage ../development/python-modules/ckcc-protocol { };
6138+
61376139 mnemonic = callPackage ../development/python-modules/mnemonic { };
61386140
61396141 keepkey = callPackage ../development/python-modules/keepkey { };