uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
21
pkgs/development/tools/misc/dfu-programmer/default.nix
Normal file
21
pkgs/development/tools/misc/dfu-programmer/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ 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";
|
||||
homepage = "http://dfu-programmer.sourceforge.net/";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue