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.
This commit is contained in:
Henrik Jonsson 2019-08-12 02:08:17 +04:00 committed by Jon
parent 856d0a44ec
commit eb33f2050a
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv
, buildPythonPackage
, click
, ecdsa
, hidapi
, lib
, fetchPypi
, pytest
, pyaes
, pythonOlder
}:
buildPythonPackage rec {
pname = "ckcc-protocol";
version = "0.8.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1mbs9l8qycy50j5lq6az7l5d8i40nb0vmlyhcyax298qp6c1r1gh";
};
checkInputs = [
pytest
];
propagatedBuildInputs = [ click ecdsa hidapi pyaes ];
meta = with stdenv.lib; {
description = "Communicate with your Coldcard using Python";
homepage = https://github.com/Coldcard/ckcc-protocol;
license = licenses.gpl3;
maintainers = [ maintainers.hkjn ];
};
}

View file

@ -6134,6 +6134,8 @@ in {
inherit (pkgs) udev libusb1;
};
ckcc-protocol = callPackage ../development/python-modules/ckcc-protocol { };
mnemonic = callPackage ../development/python-modules/mnemonic { };
keepkey = callPackage ../development/python-modules/keepkey { };