1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/python-modules/ckcc-protocol/default.nix
Henrik Jonsson eb33f2050a 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.
2019-12-14 10:30:23 -08:00

36 lines
655 B
Nix

{ 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 ];
};
}