Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 35 lines 657 B view raw
1{ stdenv 2, buildPythonPackage 3, click 4, ecdsa 5, hidapi 6, lib 7, fetchPypi 8, pytest 9, pyaes 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "ckcc-protocol"; 15 version = "1.0.2"; 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "0zpn3miyapskw6s71v614pmga5zfain9j085axm9v50b8r71xh1i"; 21 }; 22 23 checkInputs = [ 24 pytest 25 ]; 26 27 propagatedBuildInputs = [ click ecdsa hidapi pyaes ]; 28 29 meta = with stdenv.lib; { 30 description = "Communicate with your Coldcard using Python"; 31 homepage = "https://github.com/Coldcard/ckcc-protocol"; 32 license = licenses.gpl3; 33 maintainers = [ maintainers.hkjn ]; 34 }; 35}