python310Packages.ckcc-protocol: add format

This commit is contained in:
Fabian Affolter 2023-09-15 08:09:23 +02:00 committed by GitHub
parent b7bb3df559
commit 7850a3cfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@
buildPythonPackage rec {
pname = "ckcc-protocol";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -18,16 +20,24 @@ buildPythonPackage rec {
hash = "sha256-zZPU0+MwjqRYCqa+W0YTqCZv2WsMwa9R5xaN7ye77OU=";
};
propagatedBuildInputs = [ click ecdsa hidapi pyaes ];
propagatedBuildInputs = [
click
ecdsa
hidapi
pyaes
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ckcc" ];
pythonImportsCheck = [
"ckcc"
];
meta = with lib; {
description = "Communicate with your Coldcard using Python";
homepage = "https://github.com/Coldcard/ckcc-protocol";
license = licenses.mit;
maintainers = [ maintainers.hkjn ];
maintainers = with maintainers; [ hkjn ];
};
}