ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
24 lines
657 B
Nix
24 lines
657 B
Nix
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
|
let
|
|
version = "0.7.2";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "dfu-programmer";
|
|
inherit version;
|
|
|
|
buildInputs = [ libusb-compat-0_1 ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dfu-programmer/${pname}-${version}.tar.gz";
|
|
sha256 = "15gr99y1z9vbvhrkd25zqhnzhg6zjmaam3vfjzf2mazd39mx7d0x";
|
|
};
|
|
|
|
configureFlags = [ "--disable-libusb_1_0" ];
|
|
|
|
meta = with lib; {
|
|
license = licenses.gpl2;
|
|
description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
|
|
homepage = "http://dfu-programmer.sourceforge.net/";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|