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