diff options
author | Marc Weber <marco-oweber@gmx.de> | 2010-04-16 15:56:28 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2010-04-16 15:56:28 +0000 |
commit | 6ce15d655f6296ec8626b1ec1296a4101687dee0 (patch) | |
tree | 938521ed2438166a9a7e0aa718830109c6d7173e /pkgs/os-specific | |
parent | 3874ba79bdd4a2d39786835725e76488642c82e0 (diff) |
adding wvdial, wvstreams, usb_modeswitch
svn path=/nixpkgs/trunk/; revision=21131
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/wvdial/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/wvdial/default.nix b/pkgs/os-specific/linux/wvdial/default.nix new file mode 100644 index 0000000000000..bc88d56ae3160 --- /dev/null +++ b/pkgs/os-specific/linux/wvdial/default.nix @@ -0,0 +1,26 @@ +args: with args; +stdenv.mkDerivation { + name = "wvdial-1.16"; + + src = fetchurl { + url = http://wvstreams.googlecode.com/files/wvdial-1.61.tar.gz; + sha256 = "0mzcrv8mc60gbdrixc9k8ammbslvjb9x2cs50yf1jq67aabapzsg"; + }; + + buildInputs = [wvstreams pkgconfig]; + + preConfigure = '' + find -type f | xargs sed -i 's@/bin/bash@bash@g' + export makeFlags="prefix=$out" + # not sure about this line + sed -i 's@/etc/ppp/peers@$out/etc/ppp/peers@' Makefile.in + ''; + + meta = { + description = "dialer automatically recognizing the modem"; + homepage = http://alumnit.ca/wiki/index.php?page=WvDial; + license = "LGPL"; + maintainers = [stdenv.lib.maintainers.marcweber]; + platforms = stdenv.lib.platforms.linux; + }; +} |