* Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15065
This commit is contained in:
commit
a4c304ef84
17
pkgs/applications/audio/gtkpod/default.nix
Normal file
17
pkgs/applications/audio/gtkpod/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser, libglade, flex, libid3tag }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtkpod-0.99.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/gtkpod/gtkpod-0.99.14.tar.gz;
|
||||
sha256 = "0ggcfyhcdlf3br88csdki215k4clxixa192afz6f16k7h8s2iqbk";
|
||||
};
|
||||
buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex libid3tag];
|
||||
|
||||
meta = {
|
||||
description = "GTK Manager for an Apple ipod";
|
||||
homepage = http://gtkpod.sourceforge.net;
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -1,12 +1,21 @@
|
||||
{stdenv, fetchurl, perl, arts, qt, kdelibs, libX11, libXt, libXext, libXrender, libXft, zlib, libpng, libjpeg, freetype, expat }:
|
||||
{stdenv, fetchurl, perl, arts, qt, kdelibs,
|
||||
libX11, libXt, libXext, libXrender, libXft,
|
||||
zlib, libpng, libjpeg, freetype, expat }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kile-2.0";
|
||||
name = "kile-2.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/kile/kile-2.0.tar.bz2;
|
||||
sha256 = "14a7e4605a3ee486b9a7c11e9bd3236bdbd34955d5522eac5da1e511dea6c7e2";
|
||||
url = mirror://sourceforge/kile/kile-2.0.3.tar.bz2;
|
||||
md5 = "f0296547d3e916dd385e0b8913918852";
|
||||
};
|
||||
|
||||
buildInputs = [ perl arts qt kdelibs libX11 libXt libXext libXrender libXft zlib libpng libjpeg freetype expat ];
|
||||
buildInputs = [ perl arts qt kdelibs libX11 libXt libXext libXrender libXft
|
||||
zlib libpng libjpeg freetype expat ];
|
||||
|
||||
meta = {
|
||||
description = "An integrated LaTeX editor for KDE";
|
||||
homepage = http://kile.sourceforge.net;
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ fetchurl, stdenv, ncurses, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zile-2.3.4";
|
||||
name = "zile-2.3.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/zile/${name}.tar.gz";
|
||||
sha256 = "1m20j5plpbx7rbk9rw3jsirip5gja5n8amqvg4mqs3pb28isx1fx";
|
||||
sha256 = "0p5jij6fknj88ipk4fqw6wpr0ib1b4ycal0psjglf5jyrmzln9jm";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses help2man ];
|
||||
|
72
pkgs/applications/misc/googleearth/default.nix
Normal file
72
pkgs/applications/misc/googleearth/default.nix
Normal file
@ -0,0 +1,72 @@
|
||||
{ stdenv, fetchurl, glibc, mesa, freetype, glib, libSM, libICE, libXi, libXv,
|
||||
libXrender, libXrandr, libXfixes, libXcursor, libXinerama, libXext, libX11 }:
|
||||
|
||||
/* I haven't found any x86_64 package from them */
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "googleearth-5.11337.1968";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://dl.google.com/earth/client/current/GoogleEarthLinux.bin;
|
||||
sha256 = "1h090rbdkp3pa97xkkjzj71k343ic8dlngj2cihw5cd1hh3f9idc";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
glibc
|
||||
glib
|
||||
stdenv.gcc.gcc
|
||||
libSM
|
||||
libICE
|
||||
libXi
|
||||
libXv
|
||||
mesa
|
||||
libXrender
|
||||
libXrandr
|
||||
libXfixes
|
||||
libXcursor
|
||||
libXinerama
|
||||
freetype
|
||||
libXext
|
||||
libX11
|
||||
];
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
unpackPhase = ''
|
||||
bash $src --noexec --target unpacked
|
||||
cd unpacked
|
||||
'';
|
||||
installPhase =''
|
||||
ensureDir $out/{opt/googleearth/,bin};
|
||||
tar xf googleearth-data.tar -C $out/opt/googleearth
|
||||
tar xf googleearth-linux-x86.tar -C $out/opt/googleearth
|
||||
rm $out/opt/googleearth/libstdc+*
|
||||
rm $out/opt/googleearth/libgcc*
|
||||
cp bin/googleearth $out/opt/googleearth
|
||||
cat > $out/bin/googleearth << EOF
|
||||
#!/bin/sh
|
||||
export GOOGLEEARTH_DATA_PATH=$out/opt/googleearth
|
||||
exec $out/opt/googleearth/googleearth
|
||||
EOF
|
||||
chmod +x $out/bin/googleearth
|
||||
|
||||
fullPath=
|
||||
for i in $buildInputs; do
|
||||
fullPath=$fullPath:$i/lib
|
||||
done
|
||||
|
||||
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $fullPath \
|
||||
$out/opt/googleearth/googleearth-bin
|
||||
|
||||
for a in $out/opt/googleearth/*.so* ; do
|
||||
patchelf --set-rpath $fullPath $a
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A world sphere viewer";
|
||||
homepage = http://earth.google.com;
|
||||
license = "unfree";
|
||||
};
|
||||
}
|
@ -1,19 +1,37 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "mrxvt-0.5.3";
|
||||
name = "mrxvt-0.5.4";
|
||||
|
||||
buildInputs = [libX11];
|
||||
buildInputs = [libX11 libXft libXi inputproto libSM libICE
|
||||
freetype pkgconfig which];
|
||||
|
||||
configureFlags="--with-x";
|
||||
configureFlags=[
|
||||
"--with-x"
|
||||
"--enable-frills"
|
||||
"--enable-xft"
|
||||
"--enable-xim"
|
||||
# "--with-term=xterm"
|
||||
"--with-max-profiles=100"
|
||||
"--with-max-term=100"
|
||||
"--with-save-lines=10000"
|
||||
];
|
||||
|
||||
preConfigure=''
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2";
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/materm/mrxvt-0.5.3.tar.gz;
|
||||
sha256 = "04flnn58hp4qvvk6jzyipsj13v1qyrjabgbw5laz5cqxvxzpncp2";
|
||||
url = mirror://sourceforge/materm/mrxvt-0.5.4.tar.gz;
|
||||
sha256 = "1mqhmnlz32lvld9rc6c1hyz7gjw4anwf39yhbsjkikcgj1das0zl";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "multitabbed lightweight terminal emulator basd on rxvt supporting transparency, backgroundimages, freetype fonts,..";
|
||||
description = "lightweight multitabbed feature-rich X11 terminal emulator";
|
||||
longDescription = "
|
||||
Multitabbed lightweight terminal emulator based on rxvt.
|
||||
Supports transparency, backgroundimages, freetype fonts,..
|
||||
";
|
||||
homepage = http://sourceforge.net/projects/materm;
|
||||
license = "GPL";
|
||||
};
|
||||
|
28
pkgs/applications/msic/ttf2pt1/default.nix
Normal file
28
pkgs/applications/msic/ttf2pt1/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "ttf2pt1-3.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://prdownloads.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tgz;
|
||||
sha256 = "1l718n4k4widx49xz7qrj4mybzb8q67kp2jw7f47604ips4654mf";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
find -type f | xargs sed -i 's@/usr/bin/perl@${perl}/bin/perl@'
|
||||
ensureDir $out
|
||||
sed -e 's/chown/true/' \
|
||||
-e 's/chgrp/true/' \
|
||||
-e 's@^CFLAGS_FT =.*@CFLAGS_FT=-DUSE_FREETYPE -I${freetype}/include/freetype2@' \
|
||||
-i scripts/{inst_dir,inst_file} Makefile
|
||||
makeFlags="INSTDIR=$out OWNER=`id -u`"
|
||||
'';
|
||||
|
||||
buildInputs = [freetype];
|
||||
patches = ./gentoo-makefile.patch; # also contains the freetype patch
|
||||
|
||||
meta = {
|
||||
description = "True Type to Postscript Type 3 converter, fpdf";
|
||||
homepage = "http://ttf2pt1.sourceforge.net/index.html";
|
||||
license = "ttf2pt1";
|
||||
};
|
||||
}
|
98
pkgs/applications/msic/ttf2pt1/gentoo-makefile.patch
Normal file
98
pkgs/applications/msic/ttf2pt1/gentoo-makefile.patch
Normal file
@ -0,0 +1,98 @@
|
||||
diff -Naur ttf2pt1-3.4.4-orig/Makefile ttf2pt1-3.4.4/Makefile
|
||||
--- ttf2pt1-3.4.4-orig/Makefile 2007-07-15 20:06:50.000000000 -0600
|
||||
+++ ttf2pt1-3.4.4/Makefile 2007-07-15 20:12:40.000000000 -0600
|
||||
@@ -9,7 +9,7 @@
|
||||
#
|
||||
# Use GNU C even if it's not the default compiler
|
||||
#
|
||||
-#CC=gcc
|
||||
+CC=gcc
|
||||
#
|
||||
# Use the standard ANSI C compiler on HP-UX even if it's not default
|
||||
#
|
||||
@@ -60,18 +60,18 @@
|
||||
# (if the include and lib directory do not match your installation,
|
||||
# modify them), also uncomment LIBS_FT
|
||||
#
|
||||
-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include
|
||||
+CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include
|
||||
|
||||
#
|
||||
# The FreeType-2 library flags (disabled by default)
|
||||
|
||||
-LIBS_FT=
|
||||
+#LIBS_FT=
|
||||
|
||||
# To enable use of the FreeType-2 library
|
||||
# (if the include and lib directory do not match your installation,
|
||||
# modify them), also uncomment CFLAGS_FT
|
||||
#
|
||||
-#LIBS_FT= -L/usr/local/lib -lfreetype
|
||||
+LIBS_FT= -L/usr/lib -lfreetype
|
||||
|
||||
#
|
||||
# The flags for C compiler for the Autotrace library (disabled by default).
|
||||
@@ -120,18 +120,18 @@
|
||||
# Installation-related stuff
|
||||
#
|
||||
# The base dir for installation and subdirs in it
|
||||
-INSTDIR = /usr/local
|
||||
+INSTDIR = /usr
|
||||
# for binaries
|
||||
BINDIR = $(INSTDIR)/bin
|
||||
# for binaries of little general interest
|
||||
LIBXDIR = $(INSTDIR)/libexec/ttf2pt1
|
||||
# for scripts, maps/encodings etc.
|
||||
SHAREDIR = $(INSTDIR)/share/ttf2pt1
|
||||
-MANDIR = $(INSTDIR)/man
|
||||
+MANDIR = $(INSTDIR)/share/man
|
||||
|
||||
# owner and group of installed files
|
||||
OWNER = root
|
||||
-GROUP = bin
|
||||
+GROUP = root
|
||||
|
||||
# After you have configured the Makefile, comment out the following
|
||||
# definition:
|
||||
@@ -244,17 +244,19 @@
|
||||
chmod -R go-w $(SHAREDIR)
|
||||
scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755
|
||||
[ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755
|
||||
- sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\
|
||||
- s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\
|
||||
- s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp
|
||||
+ sed -e 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|' \
|
||||
+ -e 's|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|' \
|
||||
+ -e 's|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|' \
|
||||
+ <scripts/convert >cvt.tmp
|
||||
scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755
|
||||
scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755
|
||||
rm cvt.tmp
|
||||
scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755
|
||||
for i in $(MANS1); do { \
|
||||
- sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\
|
||||
- s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\
|
||||
- s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$(MANDIR)/man1/$$i \
|
||||
+ sed -e 's|TTF2PT1_BINDIR|$(BINDIR)|' \
|
||||
+ -e 's|TTF2PT1_LIBXDIR|$(LIBXDIR)|' \
|
||||
+ -e 's|TTF2PT1_SHAREDIR|$(SHAREDIR)|' \
|
||||
+ <$$i >$(MANDIR)/man1/$$i \
|
||||
&& chown $(OWNER) $(MANDIR)/man1/$$i \
|
||||
&& chgrp $(GROUP) $(MANDIR)/man1/$$i \
|
||||
&& chmod 0644 $(MANDIR)/man1/$$i \
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c
|
||||
--- ttf2pt1-3.4.4-orig/ft.c 2007-07-15 20:23:43.000000000 -0600
|
||||
+++ ttf2pt1-3.4.4/ft.c 2007-07-15 20:24:02.000000000 -0600
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
+#include <ft2build.h>
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftglyph.h>
|
||||
#include <freetype/ftsnames.h>
|
@ -13,12 +13,12 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "firefox-${version}";
|
||||
|
||||
version = "3.0.7";
|
||||
version = "3.0.8";
|
||||
|
||||
src = fetchurl {
|
||||
# Don't forget to update xulrunner.nix as well!
|
||||
url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}-source.tar.bz2";
|
||||
sha1 = "03c078d9c2d047d7cdc25f7823c6e647cb8d8f8b";
|
||||
sha1 = "93f82c64ae9c805964fb6459223a1061e2d328fd";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
let
|
||||
|
||||
version = "1.9.0.7"; # this attribute is used by other packages
|
||||
version = "1.9.0.8"; # this attribute is used by other packages
|
||||
|
||||
in
|
||||
|
||||
@ -19,8 +19,8 @@ stdenv.mkDerivation {
|
||||
name = "xulrunner-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.7/source/firefox-3.0.7-source.tar.bz2;
|
||||
sha1 = "03c078d9c2d047d7cdc25f7823c6e647cb8d8f8b";
|
||||
url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.8/source/firefox-3.0.8-source.tar.bz2;
|
||||
sha1 = "93f82c64ae9c805964fb6459223a1061e2d328fd";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -0,0 +1,36 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.12.1" a;
|
||||
buildInputs = with a; [
|
||||
python pyGtkGlade gtk perl intltool dbus gettext
|
||||
pkgconfig makeWrapper libglade pyopenssl libXScrnSaver
|
||||
libXt xproto libXext xextproto libX11 gtkspell aspell
|
||||
scrnsaverproto pycrypto pythonDBus pythonSexy
|
||||
docutils
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://www.gajim.org/downloads/gajim-${version}.tar.gz";
|
||||
sha256 = "1iglh0i819m1a8qjkbyv2ydzbzhjgnaxyyq1jnikrwlbah5mjpbv";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
preConfigure = a.FullDepEntry (''
|
||||
export PYTHONPATH="$PYTHONPATH''${PYTHONPATH:+:}$(toPythonPath ${a.pyGtkGlade})/gtk-2.0"
|
||||
export PYTHONPATH="$PYTHONPATH''${PYTHONPATH:+:}$(toPythonPath ${a.pygobject})/gtk-2.0"
|
||||
sed -e '/-L[$]x_libraries/d' -i configure
|
||||
'') ["addInputs" "doUnpack"];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preConfigure" (a.doDump "1") "doConfigure" "doMakeInstall" "wrapBinContentsPython"];
|
||||
|
||||
name = "gajim-" + version;
|
||||
meta = {
|
||||
description = "Jabber client with meta-contacts";
|
||||
};
|
||||
}
|
@ -1,16 +1,18 @@
|
||||
{stdenv, fetchurl, libX11, libXt, libXext, arts, qt, kdelibs, zlib, libpng, libjpeg, perl, expat}:
|
||||
{stdenv, fetchurl, libX11, libXt, libXext, libXrender, libXft,
|
||||
arts, qt, kdelibs, zlib, libpng, libjpeg, perl, expat}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "konversation-1.0.1";
|
||||
name = "konversation-1.1";
|
||||
src = fetchurl {
|
||||
url = http://download.berlios.de/konversation/konversation-1.0.1.tar.bz2;
|
||||
sha256 = "8be736289c52c21fe5ada7dd153767abd5155424a510ab9781b9d2f585cc00fd";
|
||||
url = http://download.berlios.de/konversation/konversation-1.1.tar.bz2;
|
||||
sha256 = "3ef15e7a46c10a11aa369ff80dd33b3e2feb54834dfc036d3609c1ed94476d33";
|
||||
};
|
||||
buildInputs = [arts qt kdelibs libX11 libXt libXext zlib libpng libjpeg perl expat];
|
||||
postConfigure = '' for i in `find . -name Makefile`; do echo $i; sed -i -e "s|-L/usr/lib||g" -e "s|\-R \$(x_libraries)||g" $i; done '';
|
||||
buildInputs = [ arts qt kdelibs libX11 libXt libXext libXrender libXft
|
||||
zlib libpng libjpeg perl expat ];
|
||||
|
||||
meta = {
|
||||
description = "An IRC client for KDE";
|
||||
homepage = http://www.konversation.org;
|
||||
license = "GPL";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
||||
|
@ -11,13 +11,13 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "thunderbird-2.0.0.19";
|
||||
name = "thunderbird-2.0.0.21";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.19/source/thunderbird-2.0.0.19-source.tar.bz2;
|
||||
sha1 = "4d2e0f8b405bb0ceab20a9f570ce91cf4640f456";
|
||||
url = ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.21/source/thunderbird-2.0.0.21-source.tar.bz2;
|
||||
sha1 = "8bb2f7ce60635f6082c3c4542fff10c4b7445dc0";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -4,6 +4,7 @@
|
||||
, alsa ? null, libX11, libXv ? null, libtheora ? null, libcaca ? null
|
||||
, libXinerama ? null, libXrandr ? null, libdvdnav ? null
|
||||
, cdparanoia ? null, cddaSupport ? true
|
||||
, mesa
|
||||
}:
|
||||
|
||||
assert alsaSupport -> alsa != null;
|
||||
@ -36,7 +37,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[x11 libXv freetype zlib]
|
||||
[x11 libXv freetype zlib mesa]
|
||||
++ stdenv.lib.optional alsaSupport alsa
|
||||
++ stdenv.lib.optional xvSupport libXv
|
||||
++ stdenv.lib.optional theoraSupport libtheora
|
||||
|
78
pkgs/applications/virtualization/virtualbox/2.2.0.nix
Normal file
78
pkgs/applications/virtualization/virtualbox/2.2.0.nix
Normal file
@ -0,0 +1,78 @@
|
||||
{stdenv, fetchurl, iasl, dev86, libxslt, libxml2, libX11, xproto, libXext, libXcursor, qt3, qt4, libIDL, SDL, hal, libcap, zlib, libpng, glib, kernel, python, which}:
|
||||
|
||||
let vboxScript = ./VBox.sh;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "virtualbox-2.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.virtualbox.org/virtualbox/2.2.0/VirtualBox-2.2.0-OSE.tar.bz2;
|
||||
sha256 = "8bf621cfcb61f2b0a71be53f072e58c3fb4f3183324faa3947346ff973314c71";
|
||||
};
|
||||
|
||||
buildInputs = [iasl dev86 libxslt libxml2 xproto libX11 libXext libXcursor qt3 qt4 libIDL SDL hal libcap glib kernel python];
|
||||
|
||||
patchPhase = "
|
||||
set -x
|
||||
MODULES_BUILD_DIR=`echo ${kernel}/lib/modules/*/build`
|
||||
sed -e 's@/lib/modules/`uname -r`/build@'$MODULES_BUILD_DIR@ \\
|
||||
-i configure
|
||||
ls kBuild/bin/linux.x86/k* tools/linux.x86/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux.so.2
|
||||
ls kBuild/bin/linux.amd64/k* tools/linux.amd64/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2
|
||||
export USER=nix
|
||||
set +x
|
||||
";
|
||||
|
||||
configurePhase = ''
|
||||
# It wants the qt utils from qt3, and it takes them from QTDIR
|
||||
export QTDIR=${qt3}
|
||||
./configure --with-qt-dir=${qt3} --with-qt4-dir=${qt4} --disable-python --disable-alsa --disable-pulse --disable-hardening
|
||||
sed -e 's@PKG_CONFIG_PATH=.*@PKG_CONFIG_PATH=${libIDL}/lib/pkgconfig:${glib}/lib/pkgconfig ${libIDL}/bin/libIDL-config-2@' \
|
||||
-i AutoConfig.kmk
|
||||
sed -e 's@arch/x86/@@' \
|
||||
-i Config.kmk
|
||||
cat >> AutoConfig.kmk << END_PATHS
|
||||
VBOX_PATH_APP_PRIVATE := $out
|
||||
VBOX_PATH_APP_DOCS := $out/doc
|
||||
END_PATHS
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
source env.sh
|
||||
kmk
|
||||
cd out/linux.*/release/bin/src
|
||||
export KERN_DIR=${kernel}/lib/modules/*/build
|
||||
make
|
||||
cd ../../../../..
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cd out/linux.*/release/bin
|
||||
ensureDir $out/virtualbox
|
||||
cp -av * $out/virtualbox
|
||||
cd src
|
||||
kernelVersion=$(cd ${kernel}/lib/modules; ls)
|
||||
export MODULE_DIR=$out/lib/modules/$kernelVersion/misc
|
||||
ensureDir $MODULE_DIR
|
||||
make install
|
||||
ensureDir $out/bin
|
||||
cp -v ${vboxScript} $out/bin/VBox.sh
|
||||
sed -i -e "s|@INSTALL_PATH@|$out/virtualbox|" \
|
||||
-e "s|@QT4_PATH@|${qt4}/lib|" \
|
||||
-e "s|which|${which}/bin/which|" \
|
||||
-e "s|gawk|${stdenv.gawk}/bin/gawk|" \
|
||||
$out/bin/VBox.sh
|
||||
chmod 755 $out/bin/VBox.sh
|
||||
for file in VirtualBox VBoxManage VBoxSDL
|
||||
do
|
||||
[ -f "$out/virtualbox/$file" ] && ln -sfv $out/bin/VBox.sh $out/bin/$file
|
||||
done
|
||||
ensureDir $out/share/applications
|
||||
ln -sfv $out/virtualbox/VirtualBox.desktop $out/share/applications
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "PC emulator";
|
||||
homepage = http://www.virtualbox.org/;
|
||||
};
|
||||
}
|
66
pkgs/applications/virtualization/virtualbox/VBox.sh
Normal file
66
pkgs/applications/virtualization/virtualbox/VBox.sh
Normal file
@ -0,0 +1,66 @@
|
||||
#!/bin/sh
|
||||
|
||||
INSTALL_PATH="@INSTALL_PATH@"
|
||||
export LD_LIBRARY_PATH="@INSTALL_PATH@:@QT4_PATH@"
|
||||
|
||||
export USER=$(whoami)
|
||||
|
||||
if [ ! -c /dev/vboxdrv ]; then
|
||||
echo "/dev/vboxdrv does not exist. Load the kernel module then try again."
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -r /dev/vboxdrv -o ! -w /dev/vboxdrv ]; then
|
||||
echo "User $USER can not read and/or write to /dev/vboxdrv."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "/dev/vboxdrv exists and $USER can access it."
|
||||
|
||||
SERVER_PID=$(ps -U $USER | grep VBoxSVC | awk '{ print $1 }')
|
||||
if [ "$1" = "shutdown" ]; then
|
||||
if [ -n "$SERVER_PID" ]; then
|
||||
echo "Terminating VBoxSVC with PID $SERVER_PID."
|
||||
kill -TERM $SERVER_PID
|
||||
else
|
||||
echo "VBoxSVC Not Currently Running."
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ ! -x "$INSTALL_PATH/VBoxSVC" ]; then
|
||||
echo "$INSTALL_PATH/VBoxSVC does not exist! Can not continue."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
APP=$(which $0)
|
||||
APP=${APP##/*/}
|
||||
|
||||
if [ ! -x "$INSTALL_PATH/$APP" ]; then
|
||||
echo "$INSTALL_PATH/$APP does not exist!"
|
||||
exit 1
|
||||
fi
|
||||
case "$APP" in
|
||||
VirtualBox|VBoxManage|VBoxSDL|VBoxVRDP)
|
||||
EXEC_APP="$INSTALL_PATH/$APP"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown application - $APP."
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$SERVER_PID" ]; then
|
||||
rm -rf /tmp/.vbox-$USER-ipc
|
||||
echo "Starting VBoxSVC for $USER."
|
||||
"$INSTALL_PATH/VBoxSVC" --daemonize
|
||||
fi
|
||||
|
||||
SERVER_PID=$(ps -U $USER | grep VBoxSVC | awk '{ print $1 }')
|
||||
if [ -z "$SERVER_PID" ]; then
|
||||
echo "VBoxSVC failed to start! Can not continue"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "VBoxSVC is running for user $USER with PID $SERVER_PID."
|
||||
|
||||
echo "Starting $EXEC_APP."
|
||||
exec "$EXEC_APP" "$@"
|
@ -817,7 +817,7 @@ rec {
|
||||
};
|
||||
urlPrefix = mirror://ubuntu;
|
||||
} // args);
|
||||
|
||||
|
||||
ubuntu810x86_64 = args: makeImageFromDebDist ({
|
||||
name = "ubuntu-8.10-intrepid-amd64";
|
||||
fullName = "Ubuntu 8.10 Intrepid (amd64)";
|
||||
@ -827,43 +827,63 @@ rec {
|
||||
};
|
||||
urlPrefix = mirror://ubuntu;
|
||||
} // args);
|
||||
|
||||
|
||||
ubuntu904i386 = args: makeImageFromDebDist ({
|
||||
name = "ubuntu-9.04-jaunty-i386";
|
||||
fullName = "Ubuntu 9.04 Jaunty (i386)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://ubuntu/dists/jaunty/main/binary-i386/Packages.bz2;
|
||||
sha256 = "6378e8707f9f1324aac8bbc67daf56eee27f2e0a4a4c96792be032d1ca706a38";
|
||||
};
|
||||
urlPrefix = mirror://ubuntu;
|
||||
} // args);
|
||||
|
||||
ubuntu904x86_64 = args: makeImageFromDebDist ({
|
||||
name = "ubuntu-9.04-jaunty-amd64";
|
||||
fullName = "Ubuntu 9.04 Jaunty (amd64)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://ubuntu/dists/jaunty/main/binary-amd64/Packages.bz2;
|
||||
sha256 = "adc46fec04a5d87571c60fa1a29dfb73ca69ad6eb0276615b28595a3f06988e1";
|
||||
};
|
||||
urlPrefix = mirror://ubuntu;
|
||||
} // args);
|
||||
|
||||
debian40i386 = args: makeImageFromDebDist ({
|
||||
name = "debian-4.0r7-etch-i386";
|
||||
fullName = "Debian 4.0r7 Etch (i386)";
|
||||
name = "debian-4.0r8-etch-i386";
|
||||
fullName = "Debian 4.0r8 Etch (i386)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/etch/main/binary-i386/Packages.bz2;
|
||||
sha256 = "155c1d1b4ce54de6c8134ab0154c2a476ae40cc5899109f3f95fecd5e002c50d";
|
||||
sha256 = "80ea57a7f106086c74470229998b07885d185dc62fe4a3200d2fffc5b2371f3d";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
} // args);
|
||||
|
||||
debian40x86_64 = args: makeImageFromDebDist ({
|
||||
name = "debian-4.0r7-etch-amd64";
|
||||
fullName = "Debian 4.0r7 Etch (amd64)";
|
||||
name = "debian-4.0r8-etch-amd64";
|
||||
fullName = "Debian 4.0r8 Etch (amd64)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/etch/main/binary-amd64/Packages.bz2;
|
||||
sha256 = "3ab73a45781651a78c824b4f281de91b1aa6974d63470f40525933d848183e44";
|
||||
sha256 = "d00114ef5e0c287273eebff7e7c4ca1aa0388a56c7d980a0a031e7782741e5ba";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
} // args);
|
||||
|
||||
debian50i386 = args: makeImageFromDebDist ({
|
||||
name = "debian-5.0-lenny-i386";
|
||||
fullName = "Debian 5.0 Lenny (i386)";
|
||||
name = "debian-5.0.1-lenny-i386";
|
||||
fullName = "Debian 5.0.1 Lenny (i386)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/lenny/main/binary-i386/Packages.bz2;
|
||||
sha256 = "afbead64fb4820e50294686cd3ccdff91026b214aabec3f212f9001482001061";
|
||||
sha256 = "a8257890a83302ebe8e4413cbec83bea1ac6b7345646465566d625d70558aeb6";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
} // args);
|
||||
|
||||
debian50x86_64 = args: makeImageFromDebDist ({
|
||||
name = "debian-5.0-lenny-amd64";
|
||||
fullName = "Debian 5.0 Lenny (amd64)";
|
||||
name = "debian-5.0.1-lenny-amd64";
|
||||
fullName = "Debian 5.0.1 Lenny (amd64)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/lenny/main/binary-amd64/Packages.bz2;
|
||||
sha256 = "73d74454d687dfbdfef1abbe4bd9c251119f38ab8d371a593aa271bfa227ed2b";
|
||||
sha256 = "6812c7462f4b2b767c157d01139e0fc9e17f99c492dcc59361dbd48ed8ec0e63";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
} // args);
|
||||
@ -998,6 +1018,8 @@ rec {
|
||||
ubuntu804x86_64 = diskImageFuns.ubuntu804x86_64 { packages = commonDebianPackages; };
|
||||
ubuntu810i386 = diskImageFuns.ubuntu810i386 { packages = commonDebianPackages; };
|
||||
ubuntu810x86_64 = diskImageFuns.ubuntu810x86_64 { packages = commonDebianPackages; };
|
||||
ubuntu904i386 = diskImageFuns.ubuntu904i386 { packages = commonDebianPackages; };
|
||||
ubuntu904x86_64 = diskImageFuns.ubuntu904x86_64 { packages = commonDebianPackages; };
|
||||
debian40i386 = diskImageFuns.debian40i386 { packages = commonDebianPackages; };
|
||||
debian40x86_64 = diskImageFuns.debian40x86_64 { packages = commonDebianPackages; };
|
||||
debian50i386 = diskImageFuns.debian50i386 { packages = commonDebianPackages; };
|
||||
|
@ -176,4 +176,30 @@ rec {
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
#### EXTRA GEAR
|
||||
|
||||
amarok = import ./extragear/amarok {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext curl mysql libxml2 taglib loudmouth;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
};
|
||||
|
||||
kdesvn = import ./extragear/kdesvn {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext apr aprutil subversion db4;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
krusader = import ./extragear/krusader {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
ktorrent = import ./extragear/ktorrent {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gmp taglib boost gettext;
|
||||
inherit kdelibs kdepimlibs kdebase_workspace;
|
||||
inherit automoc4 phonon qca2;
|
||||
};
|
||||
}
|
||||
|
9
pkgs/desktops/kde-4.2/extragear/amarok/builder.sh
Normal file
9
pkgs/desktops/kde-4.2/extragear/amarok/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|/usr|$loudmouth|g" cmake/modules/FindLoudmouth.cmake
|
||||
sed -i -e "s|/usr|$mysql|g" cmake/modules/FindMySQLAmarok.cmake
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
14
pkgs/desktops/kde-4.2/extragear/amarok/default.nix
Normal file
14
pkgs/desktops/kde-4.2/extragear/amarok/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, curl, libxml2, mysql, taglib, loudmouth,
|
||||
kdelibs, automoc4, phonon, strigi, soprano}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "amarok-2.0.2";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/amarok/2.0.2/src/amarok-2.0.2.tar.bz2;
|
||||
md5 = "98b78372ec6ea3432faba356c90c6dbe";
|
||||
};
|
||||
inherit mysql loudmouth;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ cmake qt4 perl stdenv.gcc.libc gettext curl libxml2 mysql taglib loudmouth
|
||||
kdelibs automoc4 phonon strigi soprano ];
|
||||
}
|
8
pkgs/desktops/kde-4.2/extragear/kdesvn/builder.sh
Normal file
8
pkgs/desktops/kde-4.2/extragear/kdesvn/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|/usr|$subversion|g" src/svnqt/cmakemodules/FindSubversion.cmake
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
13
pkgs/desktops/kde-4.2/extragear/kdesvn/default.nix
Normal file
13
pkgs/desktops/kde-4.2/extragear/kdesvn/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4,
|
||||
kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdesvn-1.2.4";
|
||||
src = fetchurl {
|
||||
url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.2.4.tar.bz2;
|
||||
sha256 = "aa81addf5f86b4c59026debc555d7aac783002331942847c32d2feb277a81620";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
inherit subversion;
|
||||
buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];
|
||||
}
|
10
pkgs/desktops/kde-4.2/extragear/krusader/default.nix
Normal file
10
pkgs/desktops/kde-4.2/extragear/krusader/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "krusader-2.0.0";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/krusader/krusader-2.0.0.tar.gz;
|
||||
sha256 = "dc74c47d6eaf1c28165a74750e5a1b0341fa1c0d436658d0d5f85a6149f4852c";
|
||||
};
|
||||
buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
|
||||
}
|
14
pkgs/desktops/kde-4.2/extragear/ktorrent/default.nix
Normal file
14
pkgs/desktops/kde-4.2/extragear/ktorrent/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gmp, taglib, boost, gettext,
|
||||
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ktorrent-3.2.1";
|
||||
src = fetchurl {
|
||||
url = http://ktorrent.org/downloads/3.2.1/ktorrent-3.2.1.tar.bz2;
|
||||
sha256 = "e37324519fdd04cad2a489fb772cbe628d8ff9f578e2bb913b18a1404dd7c4eb";
|
||||
};
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
cmakeFlags = "-DTASKMANAGER_INCLUDE_DIR=${kdebase_workspace}/include";
|
||||
buildInputs = [ cmake qt4 perl gmp taglib boost gettext stdenv.gcc.libc
|
||||
kdelibs kdepimlibs kdebase_workspace automoc4 phonon qca2 ];
|
||||
}
|
@ -7,6 +7,8 @@ stdenv.mkDerivation {
|
||||
md5 = "e7bbfdbe61c2fb964994a087e29b0087";
|
||||
};
|
||||
|
||||
patches = [ ./dev86-0.16.17-noelks-1.patch ];
|
||||
|
||||
preBuild = "
|
||||
makeFlags=\"PREFIX=$out\"
|
||||
";
|
||||
|
@ -0,0 +1,22 @@
|
||||
Submitted By: Andrew "Weibullguy" Rowland <darowland_at_ieee_dot_org>
|
||||
Date: 2007-10-23
|
||||
Initial Package Version: 0.16.17
|
||||
Origin: Fedora Project
|
||||
Description: Suppresses elksemu
|
||||
Upstream Status: Unknown
|
||||
|
||||
--- dev86-0.16.17/makefile.in.noelks 2006-01-25 17:03:02.000000000 -0500
|
||||
+++ dev86-0.16.17/makefile.in 2006-01-25 17:03:19.000000000 -0500
|
||||
@@ -89,10 +89,10 @@
|
||||
|
||||
#ifdef GNUMAKE
|
||||
all: check_config bcc86 cpp unproto copt as86 ar86 ld86 objdump86 \
|
||||
- library lib-bsd alt-libs elksemu
|
||||
+ library lib-bsd alt-libs
|
||||
|
||||
install: check_config install-bcc install-man \
|
||||
- install-lib install-emu
|
||||
+ install-lib
|
||||
|
||||
install-all: install install-other
|
||||
|
@ -5,10 +5,10 @@
|
||||
assert qt4Support -> qt4 != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "avahi-0.6.24";
|
||||
name = "avahi-0.6.25";
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/download/${name}.tar.gz";
|
||||
sha256 = "0l5rsi4s7az7cs9p4aqs77v7jrh95iiwwx0ivksmivc8c7a70016";
|
||||
sha256 = "0ndsrd357igp0m2cd8vwr16gmh6axlndf34hlg7qqnsiymsdj84j";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -5,11 +5,11 @@ assert guileBindings -> guile != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "gnutls-2.6.3";
|
||||
name = "gnutls-2.6.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gnutls/${name}.tar.bz2";
|
||||
sha256 = "1rs0a9d5ag17ws7d442ywlsdm6nb8fdmxkpj5hv9byfwb7k7xpgd";
|
||||
sha256 = "1jq1alccg4fzr3xnq5j3igwsyypw855jqx7iri4bf2ic0wvfd2z7";
|
||||
};
|
||||
|
||||
patches = [ ./tmpdir.patch ];
|
||||
|
17
pkgs/development/libraries/libgpod/default.nix
Normal file
17
pkgs/development/libraries/libgpod/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, gettext, perl, perlXMLParser, pkgconfig, glib, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libgpod-0.7";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/gtkpod/libgpod-0.7.0.tar.gz;
|
||||
sha256 = "07jfxf4v6wd33aps9ry8kmp0k7lg1k933bag4f9vnpns3j5l63g1";
|
||||
};
|
||||
|
||||
buildInputs = [ gettext perl perlXMLParser pkgconfig glib libxml2 ];
|
||||
|
||||
meta = {
|
||||
homepage = http://gtkpod.sourceforge.net/;
|
||||
description = "Library used by gtkpod to access the contents of an ipod";
|
||||
license = "LGPL";
|
||||
};
|
||||
}
|
@ -1,14 +1,15 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "loudmouth-1.3.3";
|
||||
{stdenv, fetchurl, gnutls, libidn, glib, pkgconfig, zlib}:
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.imendio.com/pub/imendio/loudmouth/src/${name}.tar.bz2";
|
||||
sha256 = "0f3xpp3pf5bxcp0kcmqa0g28vfl5gg8mj0hxhs2cx75hwgikd26x";
|
||||
};
|
||||
stdenv.mkDerivation {
|
||||
name = "loudmouth-1.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/GNOME/sources/loudmouth/1.4/loudmouth-1.4.3.tar.bz2;
|
||||
md5 = "55339ca42494690c3942ee1465a96937";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [gnutls libidn glib zlib];
|
||||
buildInputs = [pkgconfig];
|
||||
|
||||
propagatedBuildInputs = [gnutls libidn glib];
|
||||
buildInputs = [pkgconfig];
|
||||
|
||||
configureFlags = "--enable-shared --disable-static";
|
||||
configureFlags = "--enable-shared --disable-static";
|
||||
}
|
||||
|
29
pkgs/development/python-modules/dbus/default.nix
Normal file
29
pkgs/development/python-modules/dbus/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.83.0" a;
|
||||
buildInputs = with a; [
|
||||
pkgconfig
|
||||
];
|
||||
propagatedBuildInputs = with a; [
|
||||
dbus python dbus_glib
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz";
|
||||
sha256 = "14b1fwq9jyvg9qbbrmpk1264s9shm9n638hsgmkh9fn2lmd1vpc9";
|
||||
};
|
||||
|
||||
inherit buildInputs propagatedBuildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "python-dbus-" + version;
|
||||
meta = {
|
||||
description = "Python DBus bindings";
|
||||
};
|
||||
}
|
32
pkgs/development/python-modules/irclib/default.nix
Normal file
32
pkgs/development/python-modules/irclib/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.4.8" a;
|
||||
buildInputs = with a; [
|
||||
python
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||
};
|
||||
patches = [(fetchurl {
|
||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||
name = "irclib.py.diff";
|
||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||
})];
|
||||
patchFlags = "irclib.py";
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doPatch" "installPythonPackage"];
|
||||
|
||||
name = "python-irclib-" + version;
|
||||
meta = {
|
||||
description = "Python IRC library";
|
||||
};
|
||||
}
|
32
pkgs/development/python-modules/libsexy/default.nix
Normal file
32
pkgs/development/python-modules/libsexy/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.1.9" a;
|
||||
buildInputs = with a; [
|
||||
pkgconfig pygtk
|
||||
];
|
||||
propagatedBuildInputs = with a; [
|
||||
libsexy python gtk glib pango libxml2
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
|
||||
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
|
||||
};
|
||||
|
||||
inherit buildInputs propagatedBuildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "postInstall"];
|
||||
postInstall = a.FullDepEntry (''
|
||||
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
|
||||
'') ["minInit"];
|
||||
|
||||
name = "python-libsexy-" + version;
|
||||
meta = {
|
||||
description = "Python libsexy bindings";
|
||||
};
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
{stdenv, fetchurl, python, pkgconfig, glib, gtk, pygobject, pycairo}:
|
||||
{stdenv, fetchurl, python, pkgconfig, glib, gtk, pygobject, pycairo
|
||||
, libglade ? null}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pygtk-2.10.4";
|
||||
@ -8,7 +9,9 @@ stdenv.mkDerivation {
|
||||
sha256 = "1xg8vng42lql29aa5ryva8icc8dwdc7h2y3yn96qjdgl394d96mb";
|
||||
};
|
||||
|
||||
buildInputs = [python pkgconfig glib gtk];
|
||||
buildInputs = [python pkgconfig glib gtk]
|
||||
++ (if libglade != null then [libglade] else [])
|
||||
;
|
||||
|
||||
propagatedBuildInputs = [pygobject pycairo];
|
||||
}
|
||||
|
26
pkgs/development/python-modules/pyopenssl/default.nix
Normal file
26
pkgs/development/python-modules/pyopenssl/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.8" a;
|
||||
propagatedBuildInputs = with a; [
|
||||
openssl python
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/sourceforge/pyopenssl/pyOpenSSL-${version}.tar.gz";
|
||||
sha256 = "1qzzycjyp1qsw87msj9kg2q3h7il1bf4jkrwy841y0zi44fl3112";
|
||||
};
|
||||
|
||||
inherit propagatedBuildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["installPythonPackage"];
|
||||
|
||||
name = "pyOpenSSL-" + version;
|
||||
meta = {
|
||||
description = "Python OpenSSL wrapper capable of checking certificates";
|
||||
};
|
||||
}
|
30
pkgs/development/python-modules/xmpppy/default.nix
Normal file
30
pkgs/development/python-modules/xmpppy/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.5.0rc1" a;
|
||||
buildInputs = with a; [
|
||||
python setuptools
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
||||
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["mkDirs" "installPythonPackage"];
|
||||
mkDirs = a.FullDepEntry(''
|
||||
ensureDir $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
||||
'') ["defEnsureDir" "addInputs"];
|
||||
|
||||
name = "xmpp.py-" + version;
|
||||
meta = {
|
||||
description = "XMPP python library";
|
||||
};
|
||||
}
|
27
pkgs/development/tools/documentation/docutils/default.nix
Normal file
27
pkgs/development/tools/documentation/docutils/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.5" a;
|
||||
buildInputs = with a; [
|
||||
python pil makeWrapper
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/docutils/docutils-${version}.tar.gz";
|
||||
sha256 = "03k1dakb5j1xi1xd62vqqy7dkgd1fhr4ahmvvmd5g87wxn2gjz3l";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
|
||||
|
||||
name = "python-docutils-" + version;
|
||||
meta = {
|
||||
description = "Processor of ReStructured Text";
|
||||
};
|
||||
}
|
||||
|
@ -4,8 +4,8 @@ stdenv.mkDerivation {
|
||||
name = "unifdef-1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://freshmeat.net/redir/unifdef/10933/url_tgz/unifdef-1.0.tar.gz;
|
||||
sha256 = "d14c30b1e2e9745e4b067ab86337c93ad907b4e9ee1c414d45291bf7f0c19dad";
|
||||
url = http://www.cs.cmu.edu/~ajw/public/dist/unifdef-1.0.tar.gz;
|
||||
sha256 = "1bcxq7qgf6r98m6l277fx6s0gn9sr4vn7f3s0r5mwx79waqk0k6i";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -28,10 +28,10 @@ in stdenv.mkDerivation {
|
||||
# this snapshot version starts a firefox from a script file. It only issues a warning about it
|
||||
# you still have to pass -DfirefoxDefaultPath=/home/marc/.nix-profile/bin/firefox or such..
|
||||
name = "selenium-remote-control-${version}-dist";
|
||||
# this dist file has been created using mvn package -Dmaven.test.skip=true based on svn rev 2639
|
||||
# this dist file has been created using mvn package -Dmaven.test.skip=true based on svn rev 2450
|
||||
src = fetchurl {
|
||||
url = "http://mawercer.de/~nix/selenium-server-1.0-SNAPSHOT-standalone.jar";
|
||||
sha256 = "1g59g5y8lyjjj3fda30cm9gmjncdz70slrp03rqmnrkzp7z6khnc";
|
||||
sha256 = "1lqr72a3lmmww1psl19pzp91c9q1dm0314b7y7mz1gnfpwc49y38";
|
||||
};
|
||||
phases = "buildPhase";
|
||||
buildPhase = ''
|
||||
|
17
pkgs/games/hexen/default.nix
Normal file
17
pkgs/games/hexen/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, SDL} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hexen-0.2.3";
|
||||
src = fetchurl {
|
||||
url = http://www.libsdl.org/projects/hexen/src/hexen-0.2.3.tar.gz;
|
||||
sha256 = "c1433e930f2003c5f817f935406bb28ba15298a15b1c11f83f42df3e9f1f3bc4";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.libsdl.org/projects/hexen/;
|
||||
description = "Port of Raven Software's popular Hexen 3-D shooter game";
|
||||
license = "free";
|
||||
};
|
||||
}
|
17
pkgs/games/kobodeluxe/default.nix
Normal file
17
pkgs/games/kobodeluxe/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, SDL, SDL_image} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kobodeluxe-0.5.1";
|
||||
src = fetchurl {
|
||||
url = http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2;
|
||||
sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL SDL_image];
|
||||
|
||||
meta = {
|
||||
homepage = http://olofson.net/kobodl/;
|
||||
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
{stdenv, fetchurl, SDL, mesa, libpng, libjpeg, SDL_ttf, libvorbis, gettext} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "neverball-1.5.0";
|
||||
name = "neverball-1.5.1";
|
||||
src = fetchurl {
|
||||
url = http://neverball.org/neverball-1.5.0.tar.gz;
|
||||
sha256 = "8e6f6946cf2b08c13e4956a14f46d74c5a40735965f8fa876668c52d1877ec6a";
|
||||
url = http://neverball.org/neverball-1.5.1.tar.gz;
|
||||
sha256 = "0cqi6q829p1wx4471ab74xd7hmcvjg4fvj40rdc3342rvfqpijv5";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL mesa libpng libjpeg SDL_ttf libvorbis gettext ];
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
patchPhase = ''
|
||||
sed -i -e 's@\./data@'$out/data@ share/base_config.h
|
||||
sed -i -e 's@\./locale@'$out/locale@ share/base_config.h
|
||||
sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11@' Makefile
|
||||
sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -2,17 +2,21 @@
|
||||
, libvorbis, libogg, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "supertuxkart-0.5";
|
||||
name = "supertuxkart-0.6.1a";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/supertuxkart/${name}.tar.bz2";
|
||||
sha256 = "1c9gdfcsygsflbrsar38p6gm17kxnna70s9mw4bsixyg45aghii9";
|
||||
sha256 = "1p4jl4v74f7ff7qkw10k48fvyg247wqzc097ds07y3pvn9a696w4";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
plib SDL openal freealut mesa libvorbis libogg gettext
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/games $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "SuperTuxKart is a Free 3D kart racing game";
|
||||
|
||||
|
@ -1,20 +1,13 @@
|
||||
{stdenv, fetchurl, kernel}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "aufs-20080508-${kernel.version}";
|
||||
name = "aufs-20090414-${kernel.version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://nixos.org/tarballs/aufs-20080508.tar.bz2;
|
||||
sha256 = "1b7y6klk2fc6hf8w2la4k3yvxdvjibsnhv7d6mb12a7h13msjci6";
|
||||
url = http://nixos.org/tarballs/aufs-20090414.tar.bz2;
|
||||
sha256 = "1jhf3kccx0m84frlgx2d0ysn1c4272dgci59dsk7vsfrf7yik526";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg01091/04_sec_perm.dpatch;
|
||||
sha256 = "0b51dpks4d5qgysrakv2c1v076d9hc8ln2cbh012zi75b45gn4ir";
|
||||
})
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
kernelVersion=$(cd ${kernel}/lib/modules && ls)
|
||||
kernelBuild=$(echo ${kernel}/lib/modules/$kernelVersion/source)
|
||||
|
@ -2,7 +2,7 @@ args : with args;
|
||||
rec {
|
||||
name = "kqemu-"+version;
|
||||
src = fetchurl {
|
||||
url = http://bellard.org/qemu/kqemu-1.3.0pre11.tar.gz;
|
||||
url = http://www.nongnu.org/qemu/kqemu-1.3.0pre11.tar.gz;
|
||||
sha256 = "03svg2x52ziglf9r9irf6ziiz8iwa731fk1mdskwdip5jxbyy6jl";
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, expat, erlang, zlib, openssl}:
|
||||
{stdenv, fetchurl, expat, erlang, zlib, openssl, pam}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ejabberd-2.0.0";
|
||||
@ -6,13 +6,14 @@ stdenv.mkDerivation {
|
||||
url = http://www.process-one.net/downloads/ejabberd/2.0.0/ejabberd-2.0.0.tar.gz;
|
||||
sha256 = "086e105cb402ef868e3187277db1486807e1b34a2e3e3679f0ee6de1e5fd2e54";
|
||||
};
|
||||
buildInputs = [ expat erlang zlib openssl ];
|
||||
buildInputs = [ expat erlang zlib openssl pam ];
|
||||
patchPhase = ''
|
||||
sed -i -e "s|erl \\\|${erlang}/bin/erl \\\|" src/ejabberdctl.template
|
||||
'';
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
configureFlags = ["--enable-pam"];
|
||||
|
||||
meta = {
|
||||
description = "Open-source XMPP application server written in Erlang";
|
||||
|
@ -1,32 +0,0 @@
|
||||
args : with args; with builderDefs;
|
||||
let localDefs = builderDefs.passthru.function (rec {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_5_2.tar.gz;
|
||||
sha256 = "13xzwl8kc8i8xgdv7fpwgkj1wjhzagx4b03fkkj2hcfgdkp1978q";
|
||||
};
|
||||
|
||||
buildInputs = [jre];
|
||||
configureFlags = [];
|
||||
|
||||
installPhase = FullDepEntry (''
|
||||
sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
|
||||
cp -r . $out
|
||||
rm -r $out/logs
|
||||
mv $out/conf $out/conf.inst
|
||||
ln -s /var/log/openfire $out/logs
|
||||
ln -s /etc/openfire $out/conf
|
||||
'')
|
||||
["minInit" "doUnpack" "addInputs"];
|
||||
});
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openfire-"+version;
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs
|
||||
[ installPhase doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "XMPP server in Java";
|
||||
inherit src;
|
||||
};
|
||||
}
|
@ -1,10 +1,12 @@
|
||||
args : with args; with builderDefs;
|
||||
let localDefs = builderDefs.passthru.function (rec {
|
||||
let
|
||||
version="3_6_3";
|
||||
localDefs = builderDefs.passthru.function (rec {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_4_5.tar.gz;
|
||||
sha256 = "0j1ddk0wiqxhbi3872vf2mqx0jynswrvbfbabrp73zqhz3mdvsal";
|
||||
};
|
||||
fetchurl {
|
||||
url = "http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${version}.tar.gz";
|
||||
sha256 = "0ibzhmh9qw4lmx45ir1i280p30npgwnj7vrkl432kj3zi7hp79q2";
|
||||
};
|
||||
|
||||
buildInputs = [jre];
|
||||
configureFlags = [];
|
38
pkgs/servers/xmpp/pyIRCt/default.nix
Normal file
38
pkgs/servers/xmpp/pyIRCt/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "0.4" a;
|
||||
buildInputs = with a; [
|
||||
xmpppy pythonIRClib python makeWrapper
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/sourceforge/xmpppy/irc-transport-${version}.tar.gz";
|
||||
sha256 = "0gbc0dvj1p3088b6x315yjrlwnc5vvzp0var36wlf9z60ghvk8yb";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/irc.py" a.pythonWrapperArguments)];
|
||||
deploy = a.FullDepEntry (''
|
||||
ensureDir $out/bin $out/share/${name}
|
||||
sed -e 's@/usr/bin/@${a.python}/bin/@' -i irc.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.pyIRCt.xml"]' -i config.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.python-irc-transport.xml"]' -i config.py
|
||||
sed -e '/configFiles/iimport os' -i config.py
|
||||
cp * $out/share/$name
|
||||
echo "#! /bin/sh" > $out/bin/pyIRCt
|
||||
echo "cd $out/share/${name}" >> $out/bin/pyIRCt
|
||||
echo "./irc.py \"$@\"" >> $out/bin/pyIRCt
|
||||
chmod a+rx $out/bin/pyIRCt $out/share/${name}/irc.py
|
||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||
|
||||
name = "pyIRCt-" + version;
|
||||
meta = {
|
||||
description = "IRC transport module for XMPP";
|
||||
};
|
||||
}
|
40
pkgs/servers/xmpp/pyMAILt/default.nix
Normal file
40
pkgs/servers/xmpp/pyMAILt/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
buildInputs = with a; [
|
||||
xmpppy python makeWrapper
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchcvs {
|
||||
cvsRoot = ":pserver:anonymous@xmpppy.cvs.sourceforge.net:/cvsroot/xmpppy";
|
||||
module = "xmpppy/mail-transport";
|
||||
date = "2009-01-01";
|
||||
sha256 = "15301252e52b4ccb2156baefed8982a2a0cce3ae8eae3caf3cc28dfa615c8d6e";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/mail.py" a.pythonWrapperArguments)];
|
||||
deploy = a.FullDepEntry (''
|
||||
cd mail-transport
|
||||
ensureDir $out/bin $out/share/${name}
|
||||
sed -e 's@/usr/bin/@${a.python}/bin/@' -i mail.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.pyMAILt.xml"]' -i config.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.python-mail-transport.xml"]' -i config.py
|
||||
sed -e '/configFiles/iimport os' -i config.py
|
||||
cp * $out/share/$name
|
||||
echo "#! /bin/sh" > $out/bin/pyMAILt
|
||||
echo "cd $out/share/${name}" >> $out/bin/pyMAILt
|
||||
echo "./mail.py \"$@\"" >> $out/bin/pyMAILt
|
||||
chmod a+rx $out/bin/pyMAILt $out/share/${name}/mail.py
|
||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||
|
||||
name = "pyMAILt";
|
||||
meta = {
|
||||
description = "Email transport module for XMPP";
|
||||
};
|
||||
}
|
@ -6,8 +6,11 @@ stdenv.mkDerivation {
|
||||
src = fetchsvn {
|
||||
url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
|
||||
rev = 844;
|
||||
sha256 = "8729e63bb5cc9fd500a68d5aed91fa4b973ebc068e3014b47390ba7b4d85968e";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
||||
|
||||
buildInputs = [ flex zlib perl libpng libjpeg libxml2 ];
|
||||
|
||||
configurePhase = "cp config.mk.in config.mk";
|
||||
|
18
pkgs/tools/graphics/panomatic/default.nix
Normal file
18
pkgs/tools/graphics/panomatic/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, boost, zlib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "panomatic-0.9.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://aorlinsk2.free.fr/panomatic/bin/panomatic-0.9.4-src.tar.bz2;
|
||||
sha256 = "0vfkj3k3y8narwwijh996q2zzprjxbr2fhym15nm4fkq14yw4wwn";
|
||||
};
|
||||
|
||||
buildInputs = [ boost zlib ];
|
||||
|
||||
meta = {
|
||||
homepage = http://aorlinsk2.free.fr/panomatic/;
|
||||
description = "Tool that automates the creation of control points in Hugin";
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -20,6 +20,9 @@ stdenv.mkDerivation {
|
||||
# Implement the getxattr(), lgetxattr(), __open_2() and
|
||||
# __open64_2() functions. Needed for doing builds on Ubuntu 8.10.
|
||||
./missing-functions.patch
|
||||
|
||||
# Don't include directories in the Debian `conffiles' file.
|
||||
./etc-dirs.patch
|
||||
];
|
||||
|
||||
buildInputs = [gettext];
|
||||
|
25
pkgs/tools/package-management/checkinstall/etc-dirs.patch
Normal file
25
pkgs/tools/package-management/checkinstall/etc-dirs.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff -rc checkinstall-orig/checkinstall checkinstall/checkinstall
|
||||
*** checkinstall-orig/checkinstall 2009-03-27 17:07:26.000000000 +0100
|
||||
--- checkinstall/checkinstall 2009-04-14 16:34:08.000000000 +0200
|
||||
***************
|
||||
*** 2607,2615 ****
|
||||
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
||||
fi
|
||||
|
||||
! # Tag files in /etc to be conffiles
|
||||
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
||||
! grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles
|
||||
|
||||
# The package will be saved here (ignores <epoch>: prefix):
|
||||
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|
||||
--- 2607,2616 ----
|
||||
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
||||
fi
|
||||
|
||||
! # Tag non-directory files in /etc to be conffiles
|
||||
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
||||
! (while read fn; do test ! -d "$BUILD_DIR/$fn" && echo "$fn"; done) \
|
||||
! > $BUILD_DIR/DEBIAN/conffiles
|
||||
|
||||
# The package will be saved here (ignores <epoch>: prefix):
|
||||
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|
@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
{ # The system (e.g., `i686-linux') for which to build the packages.
|
||||
system ? __currentSystem
|
||||
system ? builtins.currentSystem
|
||||
|
||||
# Usually, the system type uniquely determines the stdenv and thus
|
||||
# how to build the packages. But on some platforms we have
|
||||
@ -1057,6 +1057,10 @@ let
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
panomatic = import ../tools/graphics/panomatic {
|
||||
inherit fetchurl stdenv boost zlib;
|
||||
};
|
||||
|
||||
par2cmdline = import ../tools/networking/par2cmdline {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
@ -1141,6 +1145,20 @@ let
|
||||
inherit stdenv fetchurl python antlr;
|
||||
};
|
||||
|
||||
pythonDBus = builderDefsPackage (import ../development/python-modules/dbus) {
|
||||
inherit python pkgconfig dbus_glib;
|
||||
dbus = dbus.libs;
|
||||
};
|
||||
|
||||
pythonIRClib = builderDefsPackage (import ../development/python-modules/irclib) {
|
||||
inherit python;
|
||||
};
|
||||
|
||||
pythonSexy = builderDefsPackage (import ../development/python-modules/libsexy) {
|
||||
inherit python libsexy pkgconfig libxml2 pygtk;
|
||||
inherit (gtkLibs) pango gtk glib;
|
||||
};
|
||||
|
||||
qhull = import ../development/libraries/qhull {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
@ -1356,6 +1374,10 @@ let
|
||||
wxGTK = wxGTK28;
|
||||
};
|
||||
|
||||
ttf2pt1 = import ../applications/msic/ttf2pt1 {
|
||||
inherit fetchurl stdenv perl freetype;
|
||||
};
|
||||
|
||||
ttmkfdir = import ../tools/misc/ttmkfdir {
|
||||
inherit debPackage freetype fontconfig libunwind libtool bison;
|
||||
flex = flex2534;
|
||||
@ -1425,6 +1447,10 @@ let
|
||||
perlURI perlLWP;
|
||||
};
|
||||
|
||||
xmpppy = builderDefsPackage (import ../development/python-modules/xmpppy) {
|
||||
inherit python setuptools;
|
||||
};
|
||||
|
||||
xpf = import ../tools/text/xml/xpf {
|
||||
inherit fetchurl stdenv python;
|
||||
|
||||
@ -2367,6 +2393,10 @@ let
|
||||
inherit (xlibs) libX11 libXt;
|
||||
};
|
||||
|
||||
docutils = builderDefsPackage (import ../development/tools/documentation/docutils) {
|
||||
inherit python pil makeWrapper;
|
||||
};
|
||||
|
||||
doxygen = import ../development/tools/documentation/doxygen {
|
||||
inherit fetchurl stdenv graphviz perl flex bison gnumake;
|
||||
inherit (xlibs) libX11 libXext;
|
||||
@ -3352,6 +3382,11 @@ let
|
||||
inherit fetchurl stdenv pkgconfig libusb libtool libexif libjpeg gettext;
|
||||
};
|
||||
|
||||
libgpod = import ../development/libraries/libgpod {
|
||||
inherit fetchurl stdenv gettext perl perlXMLParser pkgconfig libxml2;
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
libical = import ../development/libraries/libical {
|
||||
inherit stdenv fetchurl perl;
|
||||
};
|
||||
@ -3586,7 +3621,7 @@ let
|
||||
};
|
||||
|
||||
loudmouth = import ../development/libraries/loudmouth {
|
||||
inherit fetchurl stdenv libidn gnutls pkgconfig;
|
||||
inherit fetchurl stdenv libidn gnutls pkgconfig zlib;
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
@ -6347,10 +6382,20 @@ let
|
||||
inherit (gtkLibs) glib gtk;
|
||||
};
|
||||
|
||||
pyGtkGlade = import ../development/python-modules/pygtk {
|
||||
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
||||
inherit (gtkLibs) glib gtk;
|
||||
inherit (gnome) libglade;
|
||||
};
|
||||
|
||||
pyopengl = import ../development/python-modules/pyopengl {
|
||||
inherit fetchurl stdenv setuptools mesa freeglut pil python;
|
||||
};
|
||||
|
||||
pyopenssl = builderDefsPackage (import ../development/python-modules/pyopenssl) {
|
||||
inherit python openssl;
|
||||
};
|
||||
|
||||
pysqlite = import ../development/python-modules/pysqlite {
|
||||
inherit stdenv fetchurl python sqlite;
|
||||
};
|
||||
@ -6452,7 +6497,8 @@ let
|
||||
};
|
||||
|
||||
ejabberd = import ../servers/xmpp/ejabberd {
|
||||
inherit fetchurl stdenv expat erlang zlib openssl;
|
||||
inherit fetchurl stdenv expat erlang zlib openssl
|
||||
pam;
|
||||
};
|
||||
|
||||
fingerd_bsd = import ../servers/fingerd/bsd-fingerd {
|
||||
@ -6542,7 +6588,7 @@ let
|
||||
inherit fetchurl stdenv openssh;
|
||||
};
|
||||
|
||||
openfire = composedArgsAndFun (selectVersion ../servers/xmpp/openfire "3.5.2") {
|
||||
openfire = composedArgsAndFun (import ../servers/xmpp/openfire) {
|
||||
inherit builderDefs jre;
|
||||
};
|
||||
|
||||
@ -6554,6 +6600,14 @@ let
|
||||
inherit fetchurl stdenv ant;
|
||||
};
|
||||
|
||||
pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) {
|
||||
inherit xmpppy pythonIRClib python makeWrapper;
|
||||
};
|
||||
|
||||
pyMAILt = builderDefsPackage (import ../servers/xmpp/pyMAILt) {
|
||||
inherit xmpppy python makeWrapper fetchcvs;
|
||||
};
|
||||
|
||||
samba = import ../servers/samba {
|
||||
inherit stdenv fetchurl readline openldap pam kerberos popt iniparser
|
||||
libunwind acl fam;
|
||||
@ -7135,10 +7189,10 @@ let
|
||||
inherit (gnome) gtk glib pango libglade;
|
||||
};
|
||||
|
||||
# Broken build, still. The install step fails, and I never tried to run that compiled.
|
||||
virtualbox = import ../applications/virtualization/virtualbox/2.1.2.nix {
|
||||
inherit stdenv fetchurl iasl dev86 libxslt libxml2 qt3 qt4 SDL hal
|
||||
libcap libpng zlib kernel;
|
||||
virtualbox = import ../applications/virtualization/virtualbox/2.2.0.nix {
|
||||
stdenv = stdenv_32bit;
|
||||
inherit fetchurl iasl dev86 libxslt libxml2 qt3 qt4 SDL hal
|
||||
libcap libpng zlib kernel python which;
|
||||
inherit (gtkLibs) glib;
|
||||
inherit (xlibs) xproto libX11 libXext libXcursor;
|
||||
inherit (gnome) libIDL;
|
||||
@ -8260,6 +8314,12 @@ let
|
||||
libjpeg readline libtool;
|
||||
};
|
||||
|
||||
gtkpod = import ../applications/audio/gtkpod {
|
||||
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag;
|
||||
inherit (gtkLibs) gtk glib;
|
||||
inherit (gnome) libglade;
|
||||
};
|
||||
|
||||
qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) {
|
||||
inherit libpng libcv;
|
||||
};
|
||||
@ -8273,6 +8333,13 @@ let
|
||||
inherit (gtkLibs) gtk;
|
||||
};
|
||||
|
||||
googleearth = import ../applications/misc/googleearth {
|
||||
inherit stdenv fetchurl glibc mesa freetype;
|
||||
inherit (gtkLibs) glib;
|
||||
inherit (xlibs) libSM libICE libXi libXv libXrender libXrandr libXfixes
|
||||
libXcursor libXinerama libXext libX11 ;
|
||||
};
|
||||
|
||||
gv = import ../applications/misc/gv {
|
||||
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
||||
};
|
||||
@ -8402,7 +8469,7 @@ let
|
||||
|
||||
konversation = import ../applications/networking/irc/konversation {
|
||||
inherit fetchurl stdenv perl arts kdelibs zlib libpng libjpeg expat;
|
||||
inherit (xlibs) libX11 libXt libXext;
|
||||
inherit (xlibs) libX11 libXt libXext libXrender libXft;
|
||||
qt = qt3;
|
||||
};
|
||||
|
||||
@ -8495,7 +8562,7 @@ let
|
||||
|
||||
MPlayer = import ../applications/video/MPlayer {
|
||||
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
|
||||
cdparanoia;
|
||||
cdparanoia mesa;
|
||||
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
||||
alsaSupport = true;
|
||||
alsa = alsaLib;
|
||||
@ -8515,8 +8582,9 @@ let
|
||||
};
|
||||
|
||||
mrxvt = import ../applications/misc/mrxvt {
|
||||
inherit lib fetchurl stdenv;
|
||||
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
||||
inherit lib fetchurl stdenv freetype pkgconfig which;
|
||||
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXft
|
||||
libXi inputproto;
|
||||
};
|
||||
|
||||
multisync = import ../applications/misc/multisync {
|
||||
@ -9235,6 +9303,14 @@ let
|
||||
flex = flex2535;
|
||||
};
|
||||
|
||||
hexen = import ../games/hexen {
|
||||
inherit stdenv fetchurl SDL;
|
||||
};
|
||||
|
||||
kobodeluxe = import ../games/kobodeluxe {
|
||||
inherit stdenv fetchurl SDL SDL_image;
|
||||
};
|
||||
|
||||
lincity = builderDefsPackage (import ../games/lincity) {
|
||||
inherit (xlibs) libX11 libXext xextproto
|
||||
libICE libSM xproto;
|
||||
@ -9543,6 +9619,17 @@ let
|
||||
inherit stdenv python;
|
||||
};
|
||||
|
||||
gajim = builderDefsPackage (import ../applications/networking/instant-messengers/gajim) {
|
||||
inherit perl intltool pyGtkGlade gettext pkgconfig makeWrapper pygobject
|
||||
pyopenssl gtkspell libsexy pycrypto aspell pythonDBus pythonSexy
|
||||
docutils;
|
||||
dbus = dbus.libs;
|
||||
inherit (gnome) gtk libglade;
|
||||
inherit (xlibs) libXScrnSaver libXt xproto libXext xextproto libX11
|
||||
scrnsaverproto;
|
||||
python = pythonFull;
|
||||
};
|
||||
|
||||
generator = import ../misc/emulators/generator {
|
||||
inherit fetchurl stdenv SDL nasm zlib bzip2 libjpeg;
|
||||
inherit (gtkLibs1x) gtk;
|
||||
|
@ -74,6 +74,7 @@ in {
|
||||
bitlbee = linux;
|
||||
bittorrent = linux;
|
||||
boost = all;
|
||||
boostFull = all;
|
||||
bsdiff = all;
|
||||
bzip2 = all;
|
||||
cabextract = all;
|
||||
@ -163,7 +164,9 @@ in {
|
||||
kbd = linux;
|
||||
kcachegrind = linux;
|
||||
keen4 = ["i686-linux"];
|
||||
kile = linux;
|
||||
klibc = linux;
|
||||
konversation = linux;
|
||||
ktorrent = linux;
|
||||
kvm = linux;
|
||||
less = all;
|
||||
@ -332,6 +335,7 @@ in {
|
||||
};
|
||||
|
||||
kde42 = {
|
||||
amarok = linux;
|
||||
kdeadmin = linux;
|
||||
kdeartwork = linux;
|
||||
kdebase = linux;
|
||||
@ -349,20 +353,33 @@ in {
|
||||
kdetoys = linux;
|
||||
kdeutils = linux;
|
||||
kdewebdev = linux;
|
||||
ktorrent = linux;
|
||||
kdesvn = linux;
|
||||
krusader = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_25 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_26 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_27 = {
|
||||
# aufs = linux; # kernel seems to be too old for that package
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_28 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
virtualbox = linux;
|
||||
};
|
||||
|
||||
strategoPackages = {
|
||||
|
Loading…
Reference in New Issue
Block a user