My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nkdfu/default.nix

31 lines
660 B

{ lib, buildPythonPackage, fetchPypi, fire, tqdm, intelhex, libusb1 }:
buildPythonPackage rec {
pname = "nkdfu";
version = "0.1";
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Y8GonfCBi3BNMhZ99SN6/SDSa0+dbfPIMPoVzALwH5A=";
};
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 ];
};
}