Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 577 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, hidapi, pyscard, ecdsa }: 2 3buildPythonPackage rec { 4 pname = "btchip-python"; 5 version = "0.1.30"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1mraf2lmh70b038k934adxi7d40431j7yq93my3aws99f5xccsb8"; 10 }; 11 12 propagatedBuildInputs = [ hidapi pyscard ecdsa ]; 13 14 # tests requires hardware 15 doCheck = false; 16 17 meta = with stdenv.lib; { 18 description = "Python communication library for Ledger Hardware Wallet products"; 19 homepage = "https://github.com/LedgerHQ/btchip-python"; 20 license = licenses.asl20; 21 }; 22}