dfu-programmer: Bump to 0.7.
This commit is contained in:
parent
2486f89aed
commit
1f221a72de
1 changed files with 5 additions and 8 deletions
|
@ -1,21 +1,18 @@
|
|||
{ stdenv, fetchurl, libusb1 }:
|
||||
{ stdenv, fetchurl, libusb }:
|
||||
let
|
||||
version = "0.6.2";
|
||||
version = "0.7.0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name="dfu-programmer-${version}";
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
buildInputs = [ libusb ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/dfu-programmer/${name}.tar.gz";
|
||||
sha256 = "0rdg4h5alpa3py3v3xgvn2vcgmnbj077am90jqj83nad89m9c801";
|
||||
sha256 = "17lglglk5xrqd2n0impg5bkq4j96qc51cw3kzcghzmzmn6fvg3gf";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace configure \
|
||||
--replace "/usr/include/libusb-1.0" "${libusb1}/include/libusb-1.0"
|
||||
'';
|
||||
configureFlags = [ "--disable-libusb_1_0" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.gpl2;
|
||||
|
|
Loading…
Reference in a new issue