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