Something went wrong. Try again.
lol
Something went wrong. Try again.
750 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchPypi, flit-core, fire, tqdm, intelhex, libusb1,}:
buildPythonPackage rec { pname = "nkdfu"; version = "0.2"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-8l913dOCxHKFtpQ83p9RV3sUlu0oT5PVi14FSuYJ9fg="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ fire tqdm intelhex libusb1 ];
# no tests doCheck = false;
pythonImportsCheck = [ "nkdfu" ];
meta = { description = "Python tool for Nitrokeys' firmware update"; mainProgram = "nkdfu"; homepage = "https://github.com/Nitrokey/nkdfu"; license = with lib.licenses; [ gpl2Only ]; maintainers = with lib.maintainers; [ frogamic ]; };}