diff --git a/pkgs/development/tools/misc/usb-modeswitch/default.nix b/pkgs/development/tools/misc/usb-modeswitch/default.nix index bba7ef7fad04..cc28b011829c 100644 --- a/pkgs/development/tools/misc/usb-modeswitch/default.nix +++ b/pkgs/development/tools/misc/usb-modeswitch/default.nix @@ -1,11 +1,15 @@ { stdenv, fetchurl, pkgconfig, libusb1 }: -stdenv.mkDerivation rec { - name = "usb-modeswitch-2.2.0"; +let + version = "2.2.1"; +in - src =fetchurl { +stdenv.mkDerivation rec { + name = "usb-modeswitch-${version}"; + + src = fetchurl { url = "http://www.draisberghof.de/usb_modeswitch/${name}.tar.bz2"; - sha256 = "0flaj3mq0xhzk72kkpclwglf77kcw5rkwvkaimn5zvbiw4yi0li7"; + sha256 = "1jqih1g0y78w03rchpw7fjvzwjfakak61qjp7hbr1m5nnsh2dn9p"; }; # make clean: we always build from source. It should be necessary on x86_64 only