2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dfu-programmer";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "0.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [ libusb-compat-0_1 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/dfu-programmer/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "15gr99y1z9vbvhrkd25zqhnzhg6zjmaam3vfjzf2mazd39mx7d0x";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-libusb_1_0" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dfu-programmer";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://dfu-programmer.sourceforge.net/";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|