1{ lib 2, buildPythonPackage 3, click 4, ecdsa 5, hidapi 6, fetchPypi 7, pyaes 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "ckcc-protocol"; 13 version = "1.4.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-zZPU0+MwjqRYCqa+W0YTqCZv2WsMwa9R5xaN7ye77OU="; 21 }; 22 23 propagatedBuildInputs = [ 24 click 25 ecdsa 26 hidapi 27 pyaes 28 ]; 29 30 # Project has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "ckcc" 35 ]; 36 37 meta = with lib; { 38 description = "Communicate with your Coldcard using Python"; 39 homepage = "https://github.com/Coldcard/ckcc-protocol"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ hkjn ]; 42 }; 43}