2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
2014-03-07 12:28:19 +00:00
|
|
|
let
|
2015-02-26 17:20:40 +00:00
|
|
|
version = "0.7.2";
|
2014-03-07 12:28:19 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "dfu-programmer";
|
|
|
|
inherit version;
|
2014-03-07 12:28:19 +00:00
|
|
|
|
2020-04-28 04:29:39 +01:00
|
|
|
buildInputs = [ libusb-compat-0_1 ];
|
2014-03-07 12:28:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "mirror://sourceforge/dfu-programmer/${pname}-${version}.tar.gz";
|
2015-02-26 17:20:40 +00:00
|
|
|
sha256 = "15gr99y1z9vbvhrkd25zqhnzhg6zjmaam3vfjzf2mazd39mx7d0x";
|
2014-03-07 12:28:19 +00:00
|
|
|
};
|
|
|
|
|
2014-08-12 12:42:10 +01:00
|
|
|
configureFlags = [ "--disable-libusb_1_0" ];
|
2014-03-07 12:28:19 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2014-03-07 12:28:19 +00:00
|
|
|
license = licenses.gpl2;
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dfu-programmer.sourceforge.net/";
|
2018-10-17 18:55:06 +01:00
|
|
|
platforms = platforms.unix;
|
2014-03-07 12:28:19 +00:00
|
|
|
};
|
|
|
|
}
|