Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
706 B · 32 lines
Nix
123456789101112131415161718192021222324252627282930313233{ lib, buildPythonPackage, fetchPypi, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "ledgercomm"; version = "1.2.1"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-AVz8BfFrjFn4zB2fwLiTWSPx/MOAbTPutrDgVbRPWpE="; };
nativeBuildInputs = [ setuptools setuptools-scm ];
pythonImportsCheck = [ "ledgercomm" ];
meta = with lib; { description = "Python library to send and receive APDU through HID or TCP socket. It can be used with a Ledger Nano S/X or with the Speculos emulator"; mainProgram = "ledgercomm-send"; homepage = "https://github.com/LedgerHQ/ledgercomm"; license = licenses.mit; };}