3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #6310 from ikervagyok/usb-modeswitch

Update: usb-modeswitch 2.2.0 -> 2.2.1
This commit is contained in:
Arseniy Seroka 2015-02-18 14:20:16 +03:00
commit 4c125ceddc

View file

@ -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