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.3.2"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-4y5pe0CFD3C1+N0kP/2j9Wser2zkn8Uf4203ci45Rq0="; 19 }; 20 21 propagatedBuildInputs = [ click ecdsa hidapi pyaes ]; 22 23 # Project has no tests 24 doCheck = false; 25 pythonImportsCheck = [ "ckcc" ]; 26 27 meta = with lib; { 28 description = "Communicate with your Coldcard using Python"; 29 homepage = "https://github.com/Coldcard/ckcc-protocol"; 30 license = licenses.mit; 31 maintainers = [ maintainers.hkjn ]; 32 }; 33}