mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
23 lines
667 B
Nix
23 lines
667 B
Nix
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "dfu-programmer";
|
|
version = "0.7.2";
|
|
|
|
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";
|
|
mainProgram = "dfu-programmer";
|
|
homepage = "http://dfu-programmer.sourceforge.net/";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|