Files
nixpkgs/pkgs/development/tools/misc/dfu-programmer/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

23 lines
665 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 = "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;
};
}