adding wvdial, wvstreams, usb_modeswitch
svn path=/nixpkgs/trunk/; revision=21131
This commit is contained in:
parent
3874ba79bd
commit
6ce15d655f
23
pkgs/development/libraries/wvstreams/default.nix
Normal file
23
pkgs/development/libraries/wvstreams/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
args: with args;
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "wvstreams-4.6.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
|
||||||
|
sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [qt4 dbus zlib openssl readline perl];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "network programming library in C++";
|
||||||
|
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
|
||||||
|
license = "LGPL";
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
32
pkgs/development/tools/misc/usb-modeswitch/default.nix
Normal file
32
pkgs/development/tools/misc/usb-modeswitch/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
args: with args;
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
|
name = "usb-modeswitch-1.1.1";
|
||||||
|
|
||||||
|
src = /tmp/marc/usb-modeswitch-1.1.1.tar.bz2;
|
||||||
|
/*
|
||||||
|
fetchurl {
|
||||||
|
url =
|
||||||
|
sha256 = "0f7da588yvb1d3l3gk5m0hrqlhg8m4gw93aip3dwkmnawz9r0qca";
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
|
# make clean: we always build from source. It should be necessary on x86_64 only
|
||||||
|
preConfigure = ''
|
||||||
|
find -type f | xargs sed 's@/bin/rm@rm@g' -i
|
||||||
|
make clean
|
||||||
|
ensureDir $out/{etc,lib/udev,share/man/man1}
|
||||||
|
makeFlags="DESTDIR=$out PREFIX=$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [libusb];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "...";
|
||||||
|
homepage = "TODO";
|
||||||
|
license = "GPLv2";
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
26
pkgs/os-specific/linux/wvdial/default.nix
Normal file
26
pkgs/os-specific/linux/wvdial/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -524,6 +524,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usb_modeswitch = import ../development/tools/misc/usb-modeswitch {
|
||||||
|
inherit stdenv fetchurl libusb;
|
||||||
|
};
|
||||||
|
|
||||||
cloogppl = import ../development/libraries/cloog-ppl {
|
cloogppl = import ../development/libraries/cloog-ppl {
|
||||||
inherit fetchurl stdenv ppl;
|
inherit fetchurl stdenv ppl;
|
||||||
};
|
};
|
||||||
@ -5067,6 +5071,10 @@ let
|
|||||||
inherit (xlibs) libXt;
|
inherit (xlibs) libXt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wvstreams = import ../development/libraries/wvstreams {
|
||||||
|
inherit stdenv fetchurl qt4 dbus zlib openssl readline perl;
|
||||||
|
};
|
||||||
|
|
||||||
wxGTK = wxGTK28;
|
wxGTK = wxGTK28;
|
||||||
|
|
||||||
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
|
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
|
||||||
@ -7250,6 +7258,10 @@ let
|
|||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wvdial = import ../os-specific/linux/wvdial {
|
||||||
|
inherit stdenv fetchurl wvstreams pkgconfig;
|
||||||
|
};
|
||||||
|
|
||||||
fbida = builderDefsPackage ../applications/graphics/fbida {
|
fbida = builderDefsPackage ../applications/graphics/fbida {
|
||||||
inherit libjpeg libexif giflib libtiff libpng
|
inherit libjpeg libexif giflib libtiff libpng
|
||||||
imagemagick ghostscript which curl pkgconfig
|
imagemagick ghostscript which curl pkgconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user