0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
31 lines
660 B
Nix
31 lines
660 B
Nix
{ lib, buildPythonPackage, fetchPypi, fire, tqdm, intelhex, libusb1 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nkdfu";
|
|
version = "0.2";
|
|
format = "flit";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-8l913dOCxHKFtpQ83p9RV3sUlu0oT5PVi14FSuYJ9fg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fire
|
|
tqdm
|
|
intelhex
|
|
libusb1
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "nkdfu" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python tool for Nitrokeys' firmware update";
|
|
homepage = "https://github.com/Nitrokey/nkdfu";
|
|
license = with licenses; [ gpl2Only ];
|
|
maintainers = with maintainers; [ frogamic ];
|
|
};
|
|
}
|