mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=24038
This commit is contained in:
commit
cd4b54748a
|
@ -560,8 +560,9 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||
'(("commoncpp2" "ftp.gnu.org" "/gnu/commoncpp" #f)
|
||||
("libgcrypt" "ftp.gnupg.org" "/gcrypt" #t)
|
||||
("libgpg-error" "ftp.gnupg.org" "/gcrypt" #t)
|
||||
("freefont-ttf" "ftp.gnu.org" "/gnu/freefont" #f)
|
||||
("gnupg" "ftp.gnupg.org" "/gcrypt" #t)
|
||||
("gnu-ghostscript" "ftp.gnu.org" "/ghostscript" #f)
|
||||
("gnu-ghostscript" "ftp.gnu.org" "/gnu/ghostscript" #f)
|
||||
("grub" "alpha.gnu.org" "/gnu" #t)
|
||||
("GNUnet" "ftp.gnu.org" "/gnu/gnunet" #f)
|
||||
("mit-scheme" "ftp.gnu.org" "/gnu/mit-scheme/stable.pkg")
|
||||
|
@ -594,6 +595,7 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||
|
||||
(define (releases project)
|
||||
;; TODO: Handle project release trees like that of IceCat and MyServer.
|
||||
;; TODO: Parse something like fencepost.gnu.org:/gd/gnuorg/packages-ftp.
|
||||
(define release-rx
|
||||
(make-regexp (string-append "^" project "-[0-9].*\\.tar\\.")))
|
||||
|
||||
|
|
31
pkgs/applications/audio/amarok/default.nix
Normal file
31
pkgs/applications/audio/amarok/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchurl, lib, cmake, qt4, qtscriptgenerator, perl, gettext, curl
|
||||
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs, automoc4, phonon
|
||||
, strigi, soprano, qca2, libmtp, liblastfm, libgpod, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
pname = "amarok";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
||||
sha256 = "0dw2928vkd42h3d8nsb8i4xhp8qfj1zsfc1m9wrzrsxl0vd6j9c4";
|
||||
};
|
||||
|
||||
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
||||
buildInputs = [ cmake qt4 qtscriptgenerator perl stdenv.gcc.libc gettext curl
|
||||
libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
|
||||
soprano qca2 libmtp liblastfm libgpod pkgconfig ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
echo ${qtscriptgenerator} > $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
meta = {
|
||||
description = "Popular music player for KDE";
|
||||
license = "GPL";
|
||||
homepage = http://amarok.kde.org;
|
||||
inherit (kdelibs.meta) platforms maintainers;
|
||||
};
|
||||
}
|
|
@ -4,11 +4,11 @@ args: with args;
|
|||
let inherit (args.composableDerivation) composableDerivation edf; in
|
||||
composableDerivation {} {
|
||||
|
||||
name = "vim_configurable-7.2";
|
||||
name = "vim_configurable-7.3";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2;
|
||||
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
|
||||
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2;
|
||||
sha256 = "079201qk8g9yisrrb0dn52ch96z3lzw6z473dydw9fzi0xp5spaw";
|
||||
};
|
||||
|
||||
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchurl, ncurses, gettext, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vim-7.2";
|
||||
name = "vim-7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.vim.org/pub/vim/unix/${name}.tar.bz2";
|
||||
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
|
||||
sha256 = "079201qk8g9yisrrb0dn52ch96z3lzw6z473dydw9fzi0xp5spaw";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses gettext pkgconfig ];
|
||||
|
|
76
pkgs/applications/misc/mysql-workbench/default.nix
Normal file
76
pkgs/applications/misc/mysql-workbench/default.nix
Normal file
|
@ -0,0 +1,76 @@
|
|||
{ stdenv, fetchurl, makeWrapper, autoconf, automake, boost, file, gettext
|
||||
, glib, glibc, gnome_keyring, gtk, gtkmm, intltool, libctemplate, libglade
|
||||
, libgnome, libsigcxx, libtool, libuuid, libxml2, libzip, lua, mesa, mysql
|
||||
, pango, paramiko, pcre, pexpect, pkgconfig, python, sqlite
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mysql-workbench";
|
||||
version = "5.2.27";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mirror.services.wisc.edu/mysql/Downloads/MySQLGUITools/mysql-workbench-gpl-${version}.tar.gz";
|
||||
sha256 = "01l15f9nvcpcsb56r7qb39jjlknh0dkj5iwfg1pj5bm12pbligng";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake boost file gettext glib glibc gnome_keyring gtk gtkmm intltool
|
||||
libctemplate libglade libgnome libsigcxx libtool libuuid libxml2 libzip lua makeWrapper mesa
|
||||
mysql paramiko pcre pexpect pkgconfig python sqlite ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace $(pwd)/frontend/linux/workbench/mysql-workbench.in --replace "catchsegv" "${glibc}/bin/catchsegv"
|
||||
|
||||
./autogen.sh --prefix=$out
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/mysql-workbench-bin" \
|
||||
--prefix LD_LIBRARY_PATH : "${python}/lib" \
|
||||
--prefix LD_LIBRARY_PATH : "$(cat ${stdenv.gcc}/nix-support/orig-gcc)/lib64" \
|
||||
--prefix PATH : "${gnome_keyring}/bin" \
|
||||
--set PYTHONPATH $PYTHONPATH \
|
||||
--run '
|
||||
# The gnome-keyring-daemon must be running. To allow for environments like
|
||||
# kde, xfce where this is not so, we start it first.
|
||||
# It is cleaned up using a supervisor subshell which detects that
|
||||
# the parent has finished via the closed pipe as terminate signal idiom,
|
||||
# used because we cannot clean up after ourselves due to the exec call.
|
||||
|
||||
# Start gnome-keyring-daemon, export the environment variables it asks us to set.
|
||||
for expr in $( gnome-keyring-daemon --components=ssh,pkcs11 --start ) ; do eval "export "$expr ; done
|
||||
|
||||
# Prepare fifo pipe.
|
||||
FIFOCTL="/tmp/gnome-keyring-daemon-ctl.$$.fifo"
|
||||
[ -p $FIFOCTL ] && rm $FIFOCTL
|
||||
mkfifo $FIFOCTL
|
||||
|
||||
# Supervisor subshell waits reading from pipe, will receive EOF when parent
|
||||
# closes pipe on termination. Negate read with ! operator to avoid subshell
|
||||
# quitting when read EOF returns 1 due to -e option being set.
|
||||
(
|
||||
exec 19< $FIFOCTL
|
||||
! read -u 19
|
||||
|
||||
kill $GNOME_KEYRING_PID
|
||||
rm $FIFOCTL
|
||||
) &
|
||||
|
||||
exec 19> $FIFOCTL
|
||||
'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A MySQL visual database modeling, administration and querying tool.";
|
||||
longDescription = ''
|
||||
MySQL Workbench is a modeling tool that allows you to design
|
||||
and generate MySQL databases graphically. It also has administration
|
||||
and query development modules where you can manage MySQL server instances
|
||||
and execute SQL queries.
|
||||
'';
|
||||
|
||||
homepage = http://wb.mysql.com/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.kkallio ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
22
pkgs/applications/networking/browsers/arora/default.nix
Normal file
22
pkgs/applications/networking/browsers/arora/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl, qt4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "arora-${version}";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://arora.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "1np9xiy7vkpz4dar6ka90wxw4nkwapjafyjzqrv7ghnc3nqdnnvv";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
configurePhase = "qmake PREFIX=$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = qt4.meta.platforms;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
description = "A cross-platform Qt4 Webkit browser";
|
||||
homepage = http://arora.googlecode.com;
|
||||
};
|
||||
}
|
|
@ -15,6 +15,7 @@
|
|||
, gtk
|
||||
, glib
|
||||
, pango
|
||||
, cairo
|
||||
, atk
|
||||
, debug ? false
|
||||
|
||||
|
@ -40,9 +41,9 @@ let
|
|||
throw "no x86_64 debugging version available"
|
||||
else {
|
||||
# -> http://labs.adobe.com/downloads/flashplayer10_64bit.html
|
||||
version = "10.0.45.2";
|
||||
url = http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz;
|
||||
sha256 = "1mkl02cplcl9dygmgzzwic0r7kkdgfkmpfzvk76l665pgf5bbazf";
|
||||
version = "10.1_p1-r091510";
|
||||
url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz;
|
||||
sha256 = "0dzhvnxcwfyiqvk2jn2hmdy29qclq95zd57w7bca82m8bsj1sn4b";
|
||||
}
|
||||
else if stdenv.system == "i686-linux" then
|
||||
if debug then {
|
||||
|
@ -53,7 +54,7 @@ let
|
|||
} else {
|
||||
version = "10.1.82.76";
|
||||
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
|
||||
sha256 = "c6f8831ce648e7fa8e037f1fa8362d2d998cae0e06490e792bcd5871f3eb936a";
|
||||
sha256 = "7f0e57febd1ca96af626ca1b7f4f95b42eee4ef687ead6853fd49c5517089087";
|
||||
}
|
||||
else throw "flashplayer is not supported on this platform";
|
||||
|
||||
|
@ -74,7 +75,7 @@ stdenv.mkDerivation {
|
|||
|
||||
rpath = stdenv.lib.makeLibraryPath
|
||||
[ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
|
||||
libXext libXrender libXt gtk glib pango atk
|
||||
libXext libXrender libXt gtk glib pango atk cairo
|
||||
];
|
||||
|
||||
buildPhase = ":";
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchurl, cmake, qt, libgadu, bash, libXScrnSaver, libsndfile, qca2, wget, libX11, alsaLib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "kadu-0.6.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.kadu.net/download/stable/kadu-0.6.5.4.tar.bz2;
|
||||
sha256 = "09bdcyx75lca1pl6x3vfpawmdjn5pfxvwivb9xdhk4bdvswxgv4x";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake qt libgadu bash libXScrnSaver libsndfile qca2 wget libX11 alsaLib
|
||||
];
|
||||
|
||||
cmakeFlags = "-Wno-dev";
|
||||
|
||||
NIX_LDFLAGS="-lX11";
|
||||
|
||||
patches = [ ./more-icons.patch ];
|
||||
|
||||
patchPhase = ''
|
||||
unset patchPhase; patchPhase
|
||||
sed 's=/bin/bash=/${stdenv.shell}=g' -i \
|
||||
`find -type f -name '*.sh' -or -name 'autodownload'`
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An instance messanger client for the gadu-gadu network (most popular polish IM network)";
|
||||
homepage = http://www.kadu.net/w/English:Main_Page;
|
||||
license = "GPLv2";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
--- kadu/.config 2010-01-18 17:13:31.000000000 +0100
|
||||
+++ kadu/.config 2010-09-28 21:21:48.000000000 +0200
|
||||
@@ -559,10 +559,10 @@ icons_glass16=y
|
||||
icons_glass22=y
|
||||
|
||||
# Desctiption: Tango 16x16 icons made by BlotoPosniegowe
|
||||
-icons_tango16=n
|
||||
+icons_tango16=y
|
||||
|
||||
# Description: Oxygen 16x16 icons maintained by Piotr Pelzowski
|
||||
-icons_oxygen16=n
|
||||
+icons_oxygen16=y
|
|
@ -0,0 +1,54 @@
|
|||
x@{builderDefsPackage
|
||||
, qt4, openssl
|
||||
, xproto, libX11
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="1.0.2";
|
||||
baseName="vacuum";
|
||||
name="${baseName}-${version}";
|
||||
url="http://vacuum-im.googlecode.com/files/${name}-source.tar.gz";
|
||||
hash="01ndwxpgr8911f2nfyb6i7avmmlwfikn031q1s60js4lgbqdq3b7";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doQMake" "doMakeInstall"];
|
||||
|
||||
goSrcDir = ''cd vacuum-*/'';
|
||||
|
||||
doQMake = a.fullDepEntry (''
|
||||
qmake INSTALL_PREFIX=$out -recursive vacuum.pro
|
||||
'') ["doUnpack" "addInputs"];
|
||||
|
||||
meta = {
|
||||
description = "An XMPP client fully composed of plugins";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://code.google.com/p/vacuum-im/downloads/list?can=2&q=&colspec=Filename";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
42
pkgs/applications/office/koffice/default.nix
Normal file
42
pkgs/applications/office/koffice/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ stdenv, fetchurl, lib, cmake, qt4, perl, lcms, exiv2, libxml2, libxslt, boost, glew
|
||||
, shared_mime_info, popplerQt4, gsl, gmm, wv2, libwpd, libwpg, giflib, libgsf
|
||||
, fftw, pkgconfig, openjpeg , kdelibs, kdepimlibs, automoc4, phonon
|
||||
, qimageblitz, qca2, eigen, soprano , kdegraphics}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "koffice-2.2.2";
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${name}/${name}.tar.bz2";
|
||||
sha256 = "1jzdq7av4vbfkx987yz54431q3bwrsd7wzyinl9wsznx83v61c75";
|
||||
};
|
||||
|
||||
patchFlags = "-p0";
|
||||
patches =
|
||||
let
|
||||
urlBase = "http://kexi-project.org/download/patches/2.2.2/";
|
||||
in
|
||||
[
|
||||
(fetchurl {
|
||||
url = "${urlBase}support-large-memo-values-for-msaccess-2.2.2.patch";
|
||||
sha256 = "1jn6na8c0vdf87p0yv9bcff0kd1jmcxndxmm3s0878l5pak9m8rd";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "${urlBase}fix-crash-on-closing-sqlite-connection-2.2.2.patch";
|
||||
sha256 = "11h4rxdrv5vakym5786vr4bysi4627m53qqvk1vhxf3rkawvcafj";
|
||||
})
|
||||
./wpd.patch
|
||||
];
|
||||
|
||||
buildInputs = [ cmake qt4 perl lcms exiv2 libxml2 libxslt boost glew
|
||||
shared_mime_info popplerQt4 gsl gmm wv2 libwpd libwpg giflib libgsf
|
||||
stdenv.gcc.libc fftw pkgconfig kdelibs kdepimlibs automoc4 phonon
|
||||
qimageblitz qca2 eigen openjpeg soprano kdegraphics ];
|
||||
|
||||
meta = {
|
||||
description = "KDE integrated Office Suite";
|
||||
license = "GPL";
|
||||
homepage = http://www.koffice.org;
|
||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
||||
inherit (kdelibs.meta) platforms;
|
||||
};
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
diff --git a/cmake/modules/FindWPD.cmake b/cmake/modules/FindWPD.cmake
|
||||
diff cmake/modules/FindWPD.cmake cmake/modules/FindWPD.cmake
|
||||
index 9bd788c..927785a 100644
|
||||
--- a/cmake/modules/FindWPD.cmake
|
||||
+++ b/cmake/modules/FindWPD.cmake
|
||||
--- cmake/modules/FindWPD.cmake
|
||||
+++ cmake/modules/FindWPD.cmake
|
||||
@@ -19,14 +19,17 @@ if (WPD_INCLUDE_DIR AND WPD_LIBRARIES)
|
||||
else (WPD_INCLUDE_DIR AND WPD_LIBRARIES)
|
||||
if(NOT WIN32)
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv, fetchurl, zlib, openssl}:
|
||||
|
||||
let
|
||||
version = "20100823222416";
|
||||
version = "20100918155143";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
|
||||
src = fetchurl {
|
||||
url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz";
|
||||
sha256 = "16wxg27pyzrv7p5qmaf0gkxpydjxplck5s933aqcwp6xkpx0ys8v";
|
||||
sha256 = "1xkk5girwvhayl54fmya48k4akzpsdcg2qllgp1c6ckv169kggb9";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib openssl ];
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
rec {
|
||||
|
||||
git = lib.makeOverridable (import ./git) {
|
||||
inherit fetchurl stdenv curl openssl zlib expat perl python gettext
|
||||
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
||||
asciidoc texinfo xmlto docbook2x
|
||||
docbook_xsl docbook_xml_dtd_45 libxslt
|
||||
cpio tcl tk makeWrapper subversion;
|
||||
|
@ -60,12 +60,12 @@ rec {
|
|||
};
|
||||
|
||||
topGit = stdenv.mkDerivation rec {
|
||||
name = "topgit-0.8";
|
||||
name = "topgit-0.8-19-g9404aa1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "http://repo.or.cz/r/topgit.git";
|
||||
rev = name;
|
||||
sha256 = "14g233hk70xs51h4jqyivjfqnwmjjpc95fjb7wdny64i9ddz03aj";
|
||||
sha256 = "47e92d31303c30a22b96ce4a005f3c51f0e12c163e54f6ca589ac4e50ec74bd0";
|
||||
};
|
||||
|
||||
configurePhase = "export prefix=$out";
|
||||
|
@ -82,10 +82,10 @@ rec {
|
|||
|
||||
meta = {
|
||||
description = "TopGit aims to make handling of large amount of interdependent topic branches easier";
|
||||
maintainers = [ lib.maintainers.marcweber lib.maintainers.ludo ];
|
||||
homepage = http://repo.or.cz/w/topgit.git; # maybe there is also another one, I haven't checked
|
||||
maintainers = [ lib.maintainers.marcweber lib.maintainers.ludo lib.maintainers.simons ];
|
||||
homepage = http://repo.or.cz/w/topgit.git;
|
||||
license = "GPLv2";
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv, curl, openssl, zlib, expat, perl, python, gettext, cpio
|
||||
{ fetchurl, stdenv, curl, openssl, zlib, expat, perl, python, gettext, cpio, gnugrep
|
||||
, asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45
|
||||
, libxslt, tcl, tk, makeWrapper
|
||||
, svnSupport, subversion, perlLibs, smtpPerlLibs
|
||||
|
@ -12,11 +12,11 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "git-1.7.2.3";
|
||||
name = "git-1.7.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
|
||||
sha256 = "6139ec31d0a79cae04f469e73cc1f912162bb8f84ef7621ecc8630989fc81ba1";
|
||||
sha256 = "1sfs8hxbqa39cy2sp43mknlm2pywz7ni02kkac4azi9ypyqjdb6h";
|
||||
};
|
||||
|
||||
patches = [ ./docbook2texi.patch ];
|
||||
|
@ -45,6 +45,11 @@ stdenv.mkDerivation rec {
|
|||
echo "installing Emacs mode..."
|
||||
ensureDir $out/share/emacs/site-lisp
|
||||
cp -p contrib/emacs/*.el $out/share/emacs/site-lisp
|
||||
|
||||
# grep is a runtime dependence, need to patch so that it's found
|
||||
substituteInPlace $out/libexec/git-core/git-sh-setup \
|
||||
--replace ' grep' ' ${gnugrep}/bin/grep' \
|
||||
--replace ' egrep' ' ${gnugrep}/bin/egrep'
|
||||
'' # */
|
||||
|
||||
+ (if svnSupport then
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
rec {
|
||||
version="0.3.1.10286";
|
||||
name="veracity-0.3.1.10286";
|
||||
hash="0cihzf2m4bxwf8z1va550q8yqpjwc2rs013rx0q8azl0idx0akah";
|
||||
version="0.3.1.10298";
|
||||
name="veracity-0.3.1.10298";
|
||||
hash="1mqlmh01qv6y1sd9zc89caig4j8b8h7lbrqsm4d171fq4qzgq5s5";
|
||||
url="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-${version}.tar.gz";
|
||||
advertisedUrl="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-0.3.1.10286.tar.gz";
|
||||
advertisedUrl="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-0.3.1.10298.tar.gz";
|
||||
|
||||
|
||||
}
|
||||
|
|
28
pkgs/applications/video/lxdvdrip/default.nix
Normal file
28
pkgs/applications/video/lxdvdrip/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, libdvdread }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "lxdvdrip-1.76";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.berlios.de/lxdvdrip/lxdvdrip-1.76.tgz;
|
||||
sha256 = "0vgslc7dapfrbgslnaicc8bggdccyrvcgjv1dwi19qswhh7jkzj6";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile
|
||||
sed -i -e s,/usr/local,$out, buffer/Makefile
|
||||
makeFlags="$makeFlags PREFIX=$out"
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
ensureDir $out/man/man1 $out/bin $out/share $out/etc
|
||||
'';
|
||||
|
||||
buildInputs = [ libdvdread ];
|
||||
|
||||
meta = {
|
||||
description = "Command line tool to make a copy from a video DVD for private use";
|
||||
homepage = http://lxdvdrip.berlios.de/;
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
|
@ -8,6 +8,7 @@ cabal.mkDerivation (self : {
|
|||
propagatedBuildInputs = [X11 mtl];
|
||||
meta = {
|
||||
description = "xmonad is a tiling window manager for X";
|
||||
homepage = http://xmonad.org/;
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = {
|
||||
sourceInfo = rec {
|
||||
};
|
||||
in
|
||||
rec {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freefont-ttf-20090104";
|
||||
name = "freefont-ttf-20100919";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/freefont/${name}.tar.gz";
|
||||
sha256 = "13k3gm31wqa5ch14rmd3zpapckaif9bv4x82x72xaqn3n1j733ib";
|
||||
sha256 = "1q3h5jp1mbdkinkwxy0lfd0a1q7azlbagraydlzaa2ng82836wg4";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -24,5 +24,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
homepage = http://www.gnu.org/software/freefont/;
|
||||
license = "GPLv3+";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "poppler-data-0.2.1";
|
||||
name = "poppler-data-0.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://poppler.freedesktop.org/${name}.tar.gz";
|
||||
sha256 = "0q56l5v89pnpkm1kqmwb1sx2zcx89q6bxz2hq2cpkq5f8kgvl3c9";
|
||||
sha256 = "19jq5miinzzrzlv6696j82hr60ga2r4msk6a34s9537vid410q22";
|
||||
};
|
||||
|
||||
installFlags = "prefix=\${out}";
|
||||
config_tool_name = "poppler-data-dir";
|
||||
config_tool = ./poppler-data-dir;
|
||||
postInstall = "
|
||||
ensureDir \${out}/bin
|
||||
substituteAll ${config_tool} \${out}/bin/${config_tool_name}
|
||||
chmod +x \${out}/bin/${config_tool_name}
|
||||
";
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
postInstall = ''
|
||||
ensureDir ''${out}/etc/profile.d
|
||||
echo "export POPPLER_DATADIR=''${out}/share/poppler" > \
|
||||
''${out}/etc/profile.d/60-poppler.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://poppler.freedesktop.org/;
|
||||
description = "Encoding files for Poppler, a PDF rendering library";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
echo -n export POPPLER_DATADIR=@out@/share/poppler
|
|
@ -3,6 +3,7 @@
|
|||
, libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver
|
||||
, lm_sensors, libxklavier, libusb, libpthreadstubs, boost
|
||||
, automoc4, phonon, strigi, soprano, qimageblitz, akonadi, polkit_qt
|
||||
, bluez
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -14,7 +15,7 @@ stdenv.mkDerivation {
|
|||
buildInputs = [ cmake perl python qt4 pam consolekit sip pyqt4 kdelibs libXtst
|
||||
kdepimlibs kdebindings boost libusb stdenv.gcc.libc libXi libXau libXdmcp
|
||||
libXcomposite libXdamage libXScrnSaver lm_sensors libxklavier automoc4
|
||||
phonon strigi soprano qimageblitz akonadi polkit_qt libpthreadstubs ];
|
||||
phonon strigi soprano qimageblitz akonadi polkit_qt libpthreadstubs bluez ];
|
||||
patchPhase=''
|
||||
sed -i -e 's|''${PYTHON_SITE_PACKAGES_DIR}|''${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages|' \
|
||||
plasma/generic/scriptengines/python/CMakeLists.txt
|
||||
|
|
|
@ -11,7 +11,8 @@ pkgs.recurseIntoAttrs (rec {
|
|||
|
||||
phonon = import ./support/phonon {
|
||||
inherit (pkgs) stdenv fetchurl cmake pkgconfig;
|
||||
inherit (pkgs) qt4 xineLib pulseaudio;
|
||||
inherit (pkgs) qt4 xineLib;
|
||||
pulseaudio = if pkgs.getConfig ["phonon" "pulseaudioSupport"] true then pkgs.pulseaudio else null;
|
||||
inherit (pkgs.gst_all) gstreamer gstPluginsBase;
|
||||
inherit (pkgs.xlibs) libXau libXdmcp libpthreadstubs;
|
||||
inherit automoc4;
|
||||
|
@ -74,6 +75,7 @@ pkgs.recurseIntoAttrs (rec {
|
|||
inherit (pkgs.xlibs) libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver libpthreadstubs;
|
||||
inherit kdelibs kdepimlibs kdebindings;
|
||||
inherit automoc4 phonon strigi soprano qimageblitz akonadi polkit_qt;
|
||||
inherit (pkgs) bluez;
|
||||
};
|
||||
|
||||
kdebase = import ./base {
|
||||
|
@ -156,7 +158,7 @@ pkgs.recurseIntoAttrs (rec {
|
|||
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl boost gpgme libassuan libgpgerror libxslt;
|
||||
inherit (pkgs) shared_mime_info;
|
||||
inherit (pkgs.xlibs) libXScrnSaver;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit kdelibs kdepimlibs kdepim_runtime;
|
||||
inherit automoc4 phonon akonadi strigi soprano qca2;
|
||||
};
|
||||
|
||||
|
@ -214,13 +216,6 @@ pkgs.recurseIntoAttrs (rec {
|
|||
|
||||
#### EXTRA GEAR
|
||||
|
||||
amarok = import ./extragear/amarok {
|
||||
inherit (pkgs) stdenv fetchurl lib cmake qt4 qtscriptgenerator perl gettext;
|
||||
inherit (pkgs) curl mysql libxml2 taglib taglib_extras loudmouth;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi soprano qca2;
|
||||
};
|
||||
|
||||
digikam = import ./extragear/digikam {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 lcms jasper libgphoto2 gettext
|
||||
liblqr1 lensfun;
|
||||
|
@ -282,15 +277,7 @@ pkgs.recurseIntoAttrs (rec {
|
|||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
koffice = import ./extragear/koffice {
|
||||
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl lcms exiv2 giflib libxml2 libxslt boost glew;
|
||||
inherit (pkgs) shared_mime_info gsl gmm wv2 libwpd libgsf fftw;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon qimageblitz qca2 eigen soprano;
|
||||
poppler = pkgs.popplerQt4;
|
||||
};
|
||||
|
||||
inherit (pkgs) konversation yakuake ktorrent;
|
||||
inherit (pkgs) konversation yakuake ktorrent koffice amarok;
|
||||
|
||||
gtk_qt_engine = import ./extragear/gtk-qt-engine {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
|
||||
|
@ -308,6 +295,10 @@ pkgs.recurseIntoAttrs (rec {
|
|||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
konqPlugins = import ./extragear/konq-plugins {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 gettext;
|
||||
inherit kdelibs automoc4 phonon kdebase;
|
||||
};
|
||||
### LOCALIZATION
|
||||
|
||||
l10n = pkgs.recurseIntoAttrs (import ./l10n {
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
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
|
|
@ -1,21 +0,0 @@
|
|||
{ stdenv, fetchurl, lib, cmake, qt4, qtscriptgenerator, perl, gettext, curl, libxml2, mysql, taglib, taglib_extras, loudmouth
|
||||
, kdelibs, automoc4, phonon, strigi, soprano, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "amarok-2.3.1";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/amarok/2.3.1/src/amarok-2.3.1.tar.bz2;
|
||||
sha256 = "0wjaic35bpv6dnnv2wwrbbsqbpng5cn7xfd3ykx25yjg9d6kzvrz";
|
||||
};
|
||||
inherit mysql loudmouth;
|
||||
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ cmake qt4 qtscriptgenerator perl stdenv.gcc.libc gettext curl libxml2 mysql taglib taglib_extras loudmouth
|
||||
kdelibs automoc4 phonon strigi soprano qca2];
|
||||
meta = {
|
||||
description = "Popular music player for KDE";
|
||||
license = "GPL";
|
||||
homepage = http://amarok.kde.org;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
};
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{ stdenv, fetchurl, lib, cmake, qt4, perl, lcms, exiv2, libxml2, libxslt, boost, glew
|
||||
, shared_mime_info, poppler, gsl, gmm, wv2, libwpd, giflib, libgsf, fftw
|
||||
, kdelibs, kdepimlibs, automoc4, phonon, qimageblitz, qca2, eigen, soprano}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "koffice-2.2.0";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/koffice-2.2.0/koffice-2.2.0.tar.bz2;
|
||||
sha256 = "0qa73grmn4c2d7zs5p0sxg6dws8hpg8v2vgp6frhj55l0sk3kqba";
|
||||
};
|
||||
buildInputs = [ cmake qt4 perl lcms exiv2 libxml2 libxslt boost glew shared_mime_info
|
||||
poppler gsl gmm wv2 libwpd giflib libgsf stdenv.gcc.libc fftw
|
||||
kdelibs kdepimlibs automoc4 phonon qimageblitz qca2 eigen soprano ];
|
||||
patches = [ ./wpd.patch ];
|
||||
meta = {
|
||||
description = "KDE integrated Office Suite";
|
||||
license = "GPL";
|
||||
homepage = http://www.koffice.org;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
};
|
||||
}
|
21
pkgs/desktops/kde-4.4/extragear/konq-plugins/default.nix
Normal file
21
pkgs/desktops/kde-4.4/extragear/konq-plugins/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchurl, kdelibs, cmake, qt4, automoc4, phonon, kdebase, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "konq-plugins-${version}";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp.riken.go.jp/pub/FreeBSD/distfiles/KDE/extragear/konq-plugins-4.4.0.tar.bz2;
|
||||
sha256 = "1hn722rcdcwmhfnn89rnvp2b4d8gds4nm483ps3jkk83d7f2xmbi";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake kdelibs qt4 automoc4 phonon kdebase gettext ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Various plugins for Konqueror";
|
||||
license = "GPL";
|
||||
homepage = http://kde.org/;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
platforms = kdelibs.meta.platforms;
|
||||
};
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, lib, cmake, qt4, perl, boost, gpgme, libassuan, libgpgerror, libxslt
|
||||
, shared_mime_info, libXScrnSaver
|
||||
, kdelibs, kdepimlibs, automoc4, phonon, akonadi, strigi, soprano, qca2}:
|
||||
, kdelibs, kdepimlibs, kdepim_runtime, automoc4, phonon, akonadi, strigi, soprano, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdepim-4.4.5";
|
||||
|
@ -8,11 +8,18 @@ stdenv.mkDerivation {
|
|||
url = mirror://kde/stable/4.4.5/src/kdepim-4.4.5.tar.bz2;
|
||||
sha256 = "0n95wjk1ly7zfn9wv589a9hrc0r7wvik7jrvsgimnxr0rapxk3bp";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
|
||||
cmakeFlags = "-DBUILD_kleopatra=OFF"; # doesn't build with new boost
|
||||
buildInputs = [ cmake qt4 perl boost gpgme stdenv.gcc.libc libassuan libgpgerror libxslt
|
||||
shared_mime_info libXScrnSaver
|
||||
kdelibs kdepimlibs automoc4 phonon akonadi strigi soprano qca2 ];
|
||||
patchPhase = ''
|
||||
find .. -name CMakeLists.txt | xargs sed -i -e "s@DESTINATION \''${KDE4_DBUS_INTERFACES_DIR}@DESTINATION \''${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces/@"
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support/
|
||||
echo ${akonadi} ${kdepimlibs} ${kdepim_runtime} > $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
meta = {
|
||||
description = "KDE PIM tools";
|
||||
longDescription = ''
|
||||
|
|
|
@ -135,10 +135,15 @@
|
|||
kimagemapeditor = callPackage ./webdev/kimagemapeditor.nix { };
|
||||
};
|
||||
|
||||
#kdepim_runtime = callPackage ../kde-4.4/pim-runtime { };
|
||||
kdepim_runtime = callPackage ./pim-runtime { };
|
||||
kdepim = callPackage ./pim { };
|
||||
kdepim_runtime = callPackage ../kde-4.4/pim-runtime { };
|
||||
kdepim = callPackage ../kde-4.4/pim { };
|
||||
|
||||
# Experimental 4.5 versions
|
||||
kdepim_runtime45 = callPackage ./pim-runtime { };
|
||||
kdepim45 = callPackage ./pim { };
|
||||
### DEVELOPMENT
|
||||
|
||||
kdebindings = callPackage ./bindings { };
|
||||
|
||||
l10n = callPackage ./l10n { };
|
||||
}
|
||||
|
|
51
pkgs/desktops/kde-4.5/l10n/default.nix
Normal file
51
pkgs/desktops/kde-4.5/l10n/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ stdenv, fetchurl, cmake, kdelibs, gettext, perl, automoc4 }:
|
||||
|
||||
let
|
||||
overrides = { };
|
||||
|
||||
defaultVersion = "4.5.1";
|
||||
|
||||
getOverride = name: stdenv.lib.attrByPath [name] {} overrides;
|
||||
|
||||
kdeL10nDerivation = {lang, sha256, version} :
|
||||
let
|
||||
name = "kde-l10n-${lang}-${version}";
|
||||
in
|
||||
stdenv.mkDerivation ({
|
||||
inherit name;
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${version}/src/kde-l10n/${name}.tar.bz2";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ cmake perl gettext kdelibs automoc4 ];
|
||||
|
||||
meta = {
|
||||
description = "KDE translation for ${lang}";
|
||||
license = "GPL";
|
||||
inherit (kdelibs.meta) maintainers platforms homepage;
|
||||
};
|
||||
}
|
||||
// (getOverride lang) // (getOverride name)
|
||||
);
|
||||
in
|
||||
{
|
||||
inherit kdeL10nDerivation;
|
||||
recurseForDerivations = true;
|
||||
}
|
||||
// (builtins.listToAttrs (
|
||||
map (a@{lang, version, sha256} :
|
||||
{
|
||||
name = stdenv.lib.replaceChars ["." "@"] ["_" "_"] "${lang}_${version}";
|
||||
value = kdeL10nDerivation a;
|
||||
}
|
||||
) (import ./manifest.nix)
|
||||
))
|
||||
// (builtins.listToAttrs (
|
||||
map (a@{lang, version, sha256} :
|
||||
{
|
||||
name = stdenv.lib.replaceChars ["." "@"] ["_" "_"] "${lang}";
|
||||
value = kdeL10nDerivation a;
|
||||
}
|
||||
) (stdenv.lib.filter (x : x.version == defaultVersion) (import ./manifest.nix))
|
||||
))
|
277
pkgs/desktops/kde-4.5/l10n/manifest.nix
Normal file
277
pkgs/desktops/kde-4.5/l10n/manifest.nix
Normal file
|
@ -0,0 +1,277 @@
|
|||
[
|
||||
{
|
||||
lang = "ar";
|
||||
version = "4.5.1";
|
||||
sha256 = "0xgmrwlza3p2fvj66y4vc4r81r5y2n2igjaj2xmgvb2pvh4zx0ws";
|
||||
}
|
||||
{
|
||||
lang = "bg";
|
||||
version = "4.5.1";
|
||||
sha256 = "1npa9y8i7j68c8sa9cd96gy4n65bkl474agibax8rdk2mniyqrn9";
|
||||
}
|
||||
{
|
||||
lang = "ca";
|
||||
version = "4.5.1";
|
||||
sha256 = "0097sk50cf1cq6wnah3kiab8vkh68snzahcng2blk63gw908yfvx";
|
||||
}
|
||||
{
|
||||
lang = "ca@valencia";
|
||||
version = "4.5.1";
|
||||
sha256 = "1nfj4pgh4k7ld42arlw8vkh646mar615x7r0av02gskdgmixzqm8";
|
||||
}
|
||||
{
|
||||
lang = "cs";
|
||||
version = "4.5.1";
|
||||
sha256 = "077424cbqn68rf9wb026ip1n0rq5lz1iwp4k7ih15j87ymbrd03f";
|
||||
}
|
||||
{
|
||||
lang = "da";
|
||||
version = "4.5.1";
|
||||
sha256 = "0p80a2pn9hgih2y5s27z8ir8jkyz68i87sdw439c8z3pjww5dy2h";
|
||||
}
|
||||
{
|
||||
lang = "de";
|
||||
version = "4.5.1";
|
||||
sha256 = "007r6wf0in22y2jc1nr1msazv6bd48136kc4q0633gn1igdhb03h";
|
||||
}
|
||||
{
|
||||
lang = "el";
|
||||
version = "4.5.1";
|
||||
sha256 = "1ffgqjxgdfsjx0nwhj5yl2pn2kmc92s01wfxzdvb6kss9r53v95k";
|
||||
}
|
||||
{
|
||||
lang = "en_GB";
|
||||
version = "4.5.1";
|
||||
sha256 = "1bmg1aygaarnpka9dfvxgnzwqphqaly8rfps63g03ncls7ml8ilb";
|
||||
}
|
||||
{
|
||||
lang = "eo";
|
||||
version = "4.5.1";
|
||||
sha256 = "0bqrarah2pc6kjcfla117rwc0k1m23ndp4nm4ac2sygmanz1j6bk";
|
||||
}
|
||||
{
|
||||
lang = "es";
|
||||
version = "4.5.1";
|
||||
sha256 = "0hr3halsjjdzlmx2rfxycacm26pxs1f3m8awahmr1dp5ngid42wn";
|
||||
}
|
||||
{
|
||||
lang = "et";
|
||||
version = "4.5.1";
|
||||
sha256 = "1pj1wjnjjj052csn0ajql2i3ynpd4fc9l53zj4j3vsd177gypdjw";
|
||||
}
|
||||
{
|
||||
lang = "eu";
|
||||
version = "4.5.1";
|
||||
sha256 = "0zhrqy8b7wn8vdq75dlafc91mhvqpn3cw7hn90jj99c1aazdhjpd";
|
||||
}
|
||||
{
|
||||
lang = "fi";
|
||||
version = "4.5.1";
|
||||
sha256 = "0x0dhy1c7wn5wxqx2v7jyv10rc6gi6klmw0q80vp3xpfma9l16yg";
|
||||
}
|
||||
{
|
||||
lang = "fr";
|
||||
version = "4.5.1";
|
||||
sha256 = "1yvzpvxdzznrj61hdbi9jgpxdb9l0i8g24q1xkswpnp87jrncpaq";
|
||||
}
|
||||
{
|
||||
lang = "fy";
|
||||
version = "4.5.1";
|
||||
sha256 = "14c740yfw5v043rmqmwnb3ic0s7l2kcjy57qdqhfpmr75m4rjrvl";
|
||||
}
|
||||
{
|
||||
lang = "ga";
|
||||
version = "4.5.1";
|
||||
sha256 = "0w5cj0bgyy2pna8hqcpx82n3pwzr9vzshzknz86azb8c0pwkcjdw";
|
||||
}
|
||||
{
|
||||
lang = "gl";
|
||||
version = "4.5.1";
|
||||
sha256 = "00kwqzypkw0bi8nhz75a367h2filwkmc1kiiv66l2s3d4vrkdgjz";
|
||||
}
|
||||
{
|
||||
lang = "gu";
|
||||
version = "4.5.1";
|
||||
sha256 = "0as072rz4k4h8b0ix8jipn6bfck8van024sz1gd6xj1bhs83wk0m";
|
||||
}
|
||||
{
|
||||
lang = "he";
|
||||
version = "4.5.1";
|
||||
sha256 = "1f5j1qgkmzjagmyjxa00xmfxk5zgfms77gidg88hycrvgrxm6g59";
|
||||
}
|
||||
{
|
||||
lang = "hi";
|
||||
version = "4.5.1";
|
||||
sha256 = "0sy6cis0hkddmq4jw43a7rpxjadmzrgbgyhnnhyp9m6n225rh54g";
|
||||
}
|
||||
{
|
||||
lang = "hr";
|
||||
version = "4.5.1";
|
||||
sha256 = "016h7iqfkarl6p20gqcajknw3bsbqvby824fsdyrrhan82vsqd0k";
|
||||
}
|
||||
{
|
||||
lang = "hu";
|
||||
version = "4.5.1";
|
||||
sha256 = "1ck6vrrvvwlcxlgmmjq4hk5dh38clqvf3fwc7ndgr4wrxlr4c94m";
|
||||
}
|
||||
{
|
||||
lang = "ia";
|
||||
version = "4.5.1";
|
||||
sha256 = "13mnd7ndkfdq591da3cwj64wchq86qk265i6r7xir87gxn5m86xr";
|
||||
}
|
||||
{
|
||||
lang = "id";
|
||||
version = "4.5.1";
|
||||
sha256 = "0a1rw0mx1fdmps5vfx7m8mrmsqvqkpdbpbwys9sxbxy1zcbinasr";
|
||||
}
|
||||
{
|
||||
lang = "is";
|
||||
version = "4.5.1";
|
||||
sha256 = "0hinhxsq4nm4g97gcdfyx8fzx6d0syg9llww9spwpqp26myad69r";
|
||||
}
|
||||
{
|
||||
lang = "it";
|
||||
version = "4.5.1";
|
||||
sha256 = "0z4kdlmyliqa6qgdxbimifp535p6nvvydpa504i9klxcywc382y5";
|
||||
}
|
||||
{
|
||||
lang = "ja";
|
||||
version = "4.5.1";
|
||||
sha256 = "1vsyjgwh69wwadn27ncxmr85d1qn91xvrbfxxl8x9gqa44dzrs7k";
|
||||
}
|
||||
{
|
||||
lang = "kk";
|
||||
version = "4.5.1";
|
||||
sha256 = "1nzx2djxav6hga6ha473xkqiqgv8ikh3iq3b7i20zqcsjp3lhynq";
|
||||
}
|
||||
{
|
||||
lang = "km";
|
||||
version = "4.5.1";
|
||||
sha256 = "0rd36apjlgq3qvhbdq0a289hbn1hff1qbnphaisy1p1dsh3bbnw9";
|
||||
}
|
||||
{
|
||||
lang = "kn";
|
||||
version = "4.5.1";
|
||||
sha256 = "0al7whnmcpiq50b56xhzxpd6zmwv79s5j62m6z537kl3ldq9is5l";
|
||||
}
|
||||
{
|
||||
lang = "ko";
|
||||
version = "4.5.1";
|
||||
sha256 = "0s5y6h8nx4xp5vd39qpby303zsvi67yrbdzsgvig98gbw61szkd7";
|
||||
}
|
||||
{
|
||||
lang = "lt";
|
||||
version = "4.5.1";
|
||||
sha256 = "0wmwfn7w6z1lvjgn283rcpxv8j6lh8yzkvgjmhdg2r4ys948gzz0";
|
||||
}
|
||||
{
|
||||
lang = "lv";
|
||||
version = "4.5.1";
|
||||
sha256 = "1w4k7rr06m0ynl52gdikqw45754pj7z9n65pxyv88gxj5sjkzlw8";
|
||||
}
|
||||
{
|
||||
lang = "ml";
|
||||
version = "4.5.1";
|
||||
sha256 = "1qgs6xwyx1sc496ybq1m1mm0wyl9fz6317p4m5jvwiicldrcx3hq";
|
||||
}
|
||||
{
|
||||
lang = "nb";
|
||||
version = "4.5.1";
|
||||
sha256 = "0frnnxang8k491cnmn9lc2kbqkqr5m40c53d75l07j97jndv98y1";
|
||||
}
|
||||
{
|
||||
lang = "nds";
|
||||
version = "4.5.1";
|
||||
sha256 = "1p3h86qzrrhxrvl4qryizm3j6lnq3lm1vpnnapkk04y7msz0fdpr";
|
||||
}
|
||||
{
|
||||
lang = "nl";
|
||||
version = "4.5.1";
|
||||
sha256 = "0lphl2j0faalaj3mkkqv5806bg2fd6s1478cprrrkw788hvvlmzl";
|
||||
}
|
||||
{
|
||||
lang = "nn";
|
||||
version = "4.5.1";
|
||||
sha256 = "06pj24zfsgbkk1jxjjs5by8czv0llfz90iq6rq4lxnc0s195isjg";
|
||||
}
|
||||
{
|
||||
lang = "pa";
|
||||
version = "4.5.1";
|
||||
sha256 = "1sqqanvxzw63bdlkgvi6jlngvrshqrfl8d0jac103wvy4y4f6l5r";
|
||||
}
|
||||
{
|
||||
lang = "pl";
|
||||
version = "4.5.1";
|
||||
sha256 = "13n278n3p32bphch54x7qgba268m95kmql3qgxsx8ziy8riir9mm";
|
||||
}
|
||||
{
|
||||
lang = "pt";
|
||||
version = "4.5.1";
|
||||
sha256 = "12mkprpk9imda0iyi65mg4rs3w2qnyq8iszg0k7yqf7537zpv4x1";
|
||||
}
|
||||
{
|
||||
lang = "pt_BR";
|
||||
version = "4.5.1";
|
||||
sha256 = "1ipn6kvc3nq84fvpb9xrpwkqjaj2sya3y1cr2ai51909yfjk5r35";
|
||||
}
|
||||
{
|
||||
lang = "ro";
|
||||
version = "4.5.1";
|
||||
sha256 = "1kfyjlpkjnmv7fryr1w2a9d1dijkmhs3mqpqg0hi7316qy2z10jy";
|
||||
}
|
||||
{
|
||||
lang = "ru";
|
||||
version = "4.5.1";
|
||||
sha256 = "0m62rszff2k4rffmy3h9hxhs8bf523cfinlyay663zq3bh35i6h9";
|
||||
}
|
||||
{
|
||||
lang = "sk";
|
||||
version = "4.5.1";
|
||||
sha256 = "07pzslmln8yh0s8ik0bj86rhyy4w21w13pvf9z6ifapqigklw33c";
|
||||
}
|
||||
{
|
||||
lang = "sl";
|
||||
version = "4.5.1";
|
||||
sha256 = "1vrdzbl5ii6paaick88dkr5fabjpi36gjwwz67kqy6d9nm44jjp1";
|
||||
}
|
||||
{
|
||||
lang = "sr";
|
||||
version = "4.5.1";
|
||||
sha256 = "186ncq0hr0lrn1l6xhqwjwqrmd9xw9qa0kf9cqvj0x3j6qk4mjqf";
|
||||
}
|
||||
{
|
||||
lang = "sv";
|
||||
version = "4.5.1";
|
||||
sha256 = "0r62fs75a1kfr2dsfg1zrzh0c2wgbv6jq4c1w05wcbmqvpq16ks6";
|
||||
}
|
||||
{
|
||||
lang = "th";
|
||||
version = "4.5.1";
|
||||
sha256 = "1apvlcmbwhnjc3dlfjzah1ckwwhjn2rcrvgmv1rwvn9py7yfzhf5";
|
||||
}
|
||||
{
|
||||
lang = "tr";
|
||||
version = "4.5.1";
|
||||
sha256 = "0zci2fqcnlj9y23sy7v8yb1nc37dfqbpj1xrfs7sfvhj12048sb0";
|
||||
}
|
||||
{
|
||||
lang = "uk";
|
||||
version = "4.5.1";
|
||||
sha256 = "0p9jdz8w8xiiqhbsj90gkshcpijh2l8hfbvvqy12d1nx5wb1glp3";
|
||||
}
|
||||
{
|
||||
lang = "wa";
|
||||
version = "4.5.1";
|
||||
sha256 = "06hybn2l2jlibxr6lg91p0p7nnc6lyisx0w64zar52h958mqa9p8";
|
||||
}
|
||||
{
|
||||
lang = "zh_CN";
|
||||
version = "4.5.1";
|
||||
sha256 = "1f786n41yqfi02gd0n9lf30xn9djgbm26c8kqx8p7fm2b5vw28jh";
|
||||
}
|
||||
{
|
||||
lang = "zh_TW";
|
||||
version = "4.5.1";
|
||||
sha256 = "065d2ggahphsffk7p8xb9p5xzm12azz84s9jll447sawwks0jgsg";
|
||||
}
|
||||
]
|
|
@ -8,7 +8,7 @@ kde.package {
|
|||
meta = {
|
||||
description = "A KDE 4 project template generator";
|
||||
kde = {
|
||||
name = "cervisia";
|
||||
name = "kapptemplate";
|
||||
module = "kdesdk";
|
||||
version = "0.1";
|
||||
release = "4.5.1";
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{stdenv, fetchurl, cmake, qt4, cluceneCore, redland, libiodbc}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "soprano-2.5.0";
|
||||
name = "soprano-2.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sf/soprano/${name}.tar.bz2";
|
||||
sha256 = "01g0shwxksr6mg2g1pj1pbwz6nir5rw16ysmmly85891p62j8nxn";
|
||||
url = "mirror://sourceforge/soprano/${name}.tar.bz2";
|
||||
sha256 = "17k17hrcwij2plms4hb0j6994ar9kcxykf699iyiggfpj1zg7nym";
|
||||
};
|
||||
|
||||
# We disable the Java backend, since we do not need them and they make the closure size much bigger
|
||||
|
|
|
@ -11,4 +11,9 @@ stdenv.mkDerivation {
|
|||
|
||||
inherit jre;
|
||||
buildInputs = [jre];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.eclipse.org/aspectj/;
|
||||
description = "A seamless aspect-oriented extension to the Java programming language";
|
||||
};
|
||||
}
|
||||
|
|
14
pkgs/development/compilers/epic/default.nix
Normal file
14
pkgs/development/compilers/epic/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{cabal, mtl, happy, gmp, boehmgc}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "epic";
|
||||
version = "0.1.5";
|
||||
sha256 = "5a3d94e88cb85beb3c13f3b9f3c00c6768e1b067ff88d40ea63d9961a92347ff";
|
||||
propagatedBuildInputs = [mtl];
|
||||
extraBuildInputs = [happy gmp boehmgc];
|
||||
meta = {
|
||||
description = "An experimental language with full dependent types";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
87
pkgs/development/compilers/eql/default.nix
Normal file
87
pkgs/development/compilers/eql/default.nix
Normal file
|
@ -0,0 +1,87 @@
|
|||
x@{builderDefsPackage
|
||||
, fetchgit, qt4, ecl
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
["fetchgit"];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
method = "fetchgit";
|
||||
rev = "7bd32f49c9965d8f7dc262a0f265b153b0a81ced";
|
||||
url = "git://gitorious.org/eql/eql";
|
||||
hash = "f5f34b1a76f65b707446cd9bee4d7cef3b6f9b5b5d8d16fcccb70dbf855c2adf";
|
||||
version = rev;
|
||||
name = "eql-git-${version}";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
srcDrv = a.fetchgit {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
rev = sourceInfo.rev;
|
||||
};
|
||||
src = srcDrv + "/";
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
phaseNames = ["setVars" "fixPaths" "buildEQLLib" "doQMake" "doMake" "buildLibEQL" "doDeploy"];
|
||||
|
||||
setVars = a.fullDepEntry (''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC"
|
||||
'') [];
|
||||
|
||||
fixPaths = a.fullDepEntry (''
|
||||
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
buildEQLLib = a.fullDepEntry (''
|
||||
cd src
|
||||
ecl -shell make-eql-lib.lisp
|
||||
'') ["doUnpack" "addInputs"];
|
||||
|
||||
doQMake = a.fullDepEntry (''
|
||||
qmake
|
||||
'') ["addInputs"];
|
||||
|
||||
buildLibEQL = a.fullDepEntry (''
|
||||
sed -i eql.pro -e 's@#CONFIG += eql_dll@CONFIG += eql_dll@'
|
||||
qmake
|
||||
make
|
||||
'') ["doUnpack" "addInputs"];
|
||||
|
||||
doDeploy = a.fullDepEntry (''
|
||||
cd ..
|
||||
ensureDir $out/bin $out/lib/eql/ $out/include $out/include/gen $out/lib
|
||||
cp -r . $out/lib/eql/build-dir
|
||||
ln -s $out/lib/eql/build-dir/eql $out/bin
|
||||
ln -s $out/lib/eql/build-dir/src/*.h $out/include
|
||||
ln -s $out/lib/eql/build-dir/src/gen/*.h $out/include/gen
|
||||
mv $out/lib/eql/build-dir/my_app/libeql*.so* $out/lib
|
||||
'') ["minInit" "defEnsureDir"];
|
||||
|
||||
meta = {
|
||||
description = "Embedded Qt Lisp (ECL+Qt)";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://password-taxi.at/EQL";
|
||||
method = "fetchgit";
|
||||
rev = "370b7968fd73d5babc81e35913a37111a788487f";
|
||||
url = "git://gitorious.org/eql/eql";
|
||||
hash = "2370e111d86330d178f3ec95e8fed13607e51fed8859c6e95840df2a35381636";
|
||||
};
|
||||
inherit srcDrv;
|
||||
};
|
||||
}) x
|
||||
|
84
pkgs/development/compilers/ghc/7.0.1.nix
Normal file
84
pkgs/development/compilers/ghc/7.0.1.nix
Normal file
|
@ -0,0 +1,84 @@
|
|||
{stdenv, fetchurl, ghc, perl, gmp, ncurses}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.0.1-rc1";
|
||||
|
||||
name = "ghc-${version}";
|
||||
|
||||
# TODO: Does this have to be here, or can it go to meta?
|
||||
homepage = "http://haskell.org/ghc";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://new-www.haskell.org/ghc/dist/${version}/ghc-7.0.0.20100924-src.tar.bz2";
|
||||
sha256 = "14b3cg4i805798v0rasr16nja70k68vp34qar0pv2vbwcl39apv5";
|
||||
};
|
||||
|
||||
buildInputs = [ghc perl gmp ncurses];
|
||||
|
||||
buildMK = ''
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
echo "${buildMK}" > mk/build.mk
|
||||
'';
|
||||
|
||||
configureFlags=[
|
||||
"--with-gcc=${stdenv.gcc}/bin/gcc"
|
||||
];
|
||||
|
||||
# required, because otherwise all symbols from HSffi.o are stripped, and
|
||||
# that in turn causes GHCi to abort
|
||||
stripDebugFlags=["-S" "--keep-file-symbols"];
|
||||
|
||||
meta = {
|
||||
inherit homepage;
|
||||
description = "The Glasgow Haskell Compiler";
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.marcweber
|
||||
stdenv.lib.maintainers.andres
|
||||
];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
# TODO: requires a comment as to what it does and why it is needed.
|
||||
passthru = {
|
||||
corePackages = [
|
||||
[ "Cabal" "1.8.0.2" ]
|
||||
[ "array" "0.3.0.0" ]
|
||||
[ "base" "3.0.3.2" ]
|
||||
[ "base" "4.2.0.0" ]
|
||||
[ "bin-package-db" "0.0.0.0" ]
|
||||
[ "bytestring" "0.9.1.5" ]
|
||||
[ "containers" "0.3.0.0" ]
|
||||
[ "directory" "1.0.1.0" ]
|
||||
[ "dph-base" "0.4.0" ]
|
||||
[ "dph-par" "0.4.0" ]
|
||||
[ "dph-prim-interface" "0.4.0" ]
|
||||
[ "dph-prim-par" "0.4.0" ]
|
||||
[ "dph-prim-seq" "0.4.0" ]
|
||||
[ "dph-seq" "0.4.0" ]
|
||||
[ "extensible-exceptions" "0.1.1.1" ]
|
||||
[ "ffi" "1.0" ]
|
||||
[ "filepath" "1.1.0.3" ]
|
||||
[ "ghc" "6.12.1" ]
|
||||
[ "ghc-binary" "0.5.0.2" ]
|
||||
[ "ghc-prim" "0.2.0.0" ]
|
||||
[ "haskell98" "1.0.1.1" ]
|
||||
[ "hpc" "0.5.0.4" ]
|
||||
[ "integer-gmp" "0.2.0.0" ]
|
||||
[ "old-locale" "1.0.0.2" ]
|
||||
[ "old-time" "1.0.0.3" ]
|
||||
[ "pretty" "1.0.1.1" ]
|
||||
[ "process" "1.0.1.2" ]
|
||||
[ "random" "1.0.0.2" ]
|
||||
[ "rts" "1.0" ]
|
||||
[ "syb" "0.1.0.2" ]
|
||||
[ "template-haskell" "2.4.0.0" ]
|
||||
[ "time" "1.1.4" ]
|
||||
[ "unix" "2.4.0.0" ]
|
||||
[ "utf8-string" "0.3.4" ]
|
||||
];
|
||||
};
|
||||
}
|
84
pkgs/development/compilers/ghc/head.nix
Normal file
84
pkgs/development/compilers/ghc/head.nix
Normal file
|
@ -0,0 +1,84 @@
|
|||
{stdenv, fetchurl, ghc, perl, gmp, ncurses}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.13.20100917";
|
||||
|
||||
name = "ghc-${version}";
|
||||
|
||||
# TODO: Does this have to be here, or can it go to meta?
|
||||
homepage = "http://haskell.org/ghc";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${homepage}/dist/current/dist/${name}-src.tar.bz2";
|
||||
sha256 = "0b5pg6688yfzd5zfaffjp21y933vp94h94ds85gwi156f4g3bkij";
|
||||
};
|
||||
|
||||
buildInputs = [ghc perl gmp ncurses];
|
||||
|
||||
buildMK = ''
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
echo "${buildMK}" > mk/build.mk
|
||||
'';
|
||||
|
||||
configureFlags=[
|
||||
"--with-gcc=${stdenv.gcc}/bin/gcc"
|
||||
];
|
||||
|
||||
# required, because otherwise all symbols from HSffi.o are stripped, and
|
||||
# that in turn causes GHCi to abort
|
||||
stripDebugFlags=["-S" "--keep-file-symbols"];
|
||||
|
||||
meta = {
|
||||
inherit homepage;
|
||||
description = "The Glasgow Haskell Compiler";
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.marcweber
|
||||
stdenv.lib.maintainers.andres
|
||||
];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
# TODO: requires a comment as to what it does and why it is needed.
|
||||
passthru = {
|
||||
corePackages = [
|
||||
[ "Cabal" "1.8.0.2" ]
|
||||
[ "array" "0.3.0.0" ]
|
||||
[ "base" "3.0.3.2" ]
|
||||
[ "base" "4.2.0.0" ]
|
||||
[ "bin-package-db" "0.0.0.0" ]
|
||||
[ "bytestring" "0.9.1.5" ]
|
||||
[ "containers" "0.3.0.0" ]
|
||||
[ "directory" "1.0.1.0" ]
|
||||
[ "dph-base" "0.4.0" ]
|
||||
[ "dph-par" "0.4.0" ]
|
||||
[ "dph-prim-interface" "0.4.0" ]
|
||||
[ "dph-prim-par" "0.4.0" ]
|
||||
[ "dph-prim-seq" "0.4.0" ]
|
||||
[ "dph-seq" "0.4.0" ]
|
||||
[ "extensible-exceptions" "0.1.1.1" ]
|
||||
[ "ffi" "1.0" ]
|
||||
[ "filepath" "1.1.0.3" ]
|
||||
[ "ghc" "6.12.1" ]
|
||||
[ "ghc-binary" "0.5.0.2" ]
|
||||
[ "ghc-prim" "0.2.0.0" ]
|
||||
[ "haskell98" "1.0.1.1" ]
|
||||
[ "hpc" "0.5.0.4" ]
|
||||
[ "integer-gmp" "0.2.0.0" ]
|
||||
[ "old-locale" "1.0.0.2" ]
|
||||
[ "old-time" "1.0.0.3" ]
|
||||
[ "pretty" "1.0.1.1" ]
|
||||
[ "process" "1.0.1.2" ]
|
||||
[ "random" "1.0.0.2" ]
|
||||
[ "rts" "1.0" ]
|
||||
[ "syb" "0.1.0.2" ]
|
||||
[ "template-haskell" "2.4.0.0" ]
|
||||
[ "time" "1.1.4" ]
|
||||
[ "unix" "2.4.0.0" ]
|
||||
[ "utf8-string" "0.3.4" ]
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,24 +1,15 @@
|
|||
{fetchdarcs, cabal, mtl, parsec, readline, ivor, happy}:
|
||||
{cabal, mtl, parsec, readline, ivor, epic, happy}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "idris";
|
||||
name = self.fname;
|
||||
version = "0.1.2";
|
||||
src = fetchdarcs {
|
||||
url = http://www-fp.dcs.st-and.ac.uk/~eb/darcs/Idris;
|
||||
sha256 = "de50ed4bedacee36d9942bf4db90deca3915cf6c106aa834d11e83972b2b639a";
|
||||
context = ./idris.context;
|
||||
};
|
||||
propagatedBuildInputs = [mtl parsec readline ivor];
|
||||
version = "0.1.5";
|
||||
sha256 = "8acdfc22ba2e68b6c1832c2d5fcf11405df9416ba2c193f564b6f98710e9813e";
|
||||
propagatedBuildInputs = [mtl parsec readline ivor epic];
|
||||
extraBuildInputs = [happy];
|
||||
preConfigure = ''
|
||||
echo "module Idris.Prefix where prefix = \"$out\"" > Idris/Prefix.hs
|
||||
'';
|
||||
postInstall = ''
|
||||
ensureDir $out/lib/idris
|
||||
install lib/*.idr lib/*.e $out/lib/idris
|
||||
'';
|
||||
meta = {
|
||||
description = "An experimental language with full dependent types";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -1,586 +0,0 @@
|
|||
|
||||
Context:
|
||||
|
||||
[Missed SCTrans source!
|
||||
eb@cs.st-andrews.ac.uk**20090511120315]
|
||||
|
||||
[Put RunIO in a more sensible place
|
||||
eb@cs.st-andrews.ac.uk**20090426144418]
|
||||
|
||||
[Update cabal details
|
||||
eb@cs.st-andrews.ac.uk**20090426144101]
|
||||
|
||||
[Convert things which look like Nats to Nats for optimisation
|
||||
eb@cs.st-andrews.ac.uk**20090423220551]
|
||||
|
||||
[Basic Nat optimisation
|
||||
eb@cs.st-andrews.ac.uk**20090423185609]
|
||||
|
||||
[need to check if arguments are still needed to discriminate on collapsing
|
||||
eb@cs.st-andrews.ac.uk**20090309174234]
|
||||
|
||||
[Using knowledge of collapsing to help forcing
|
||||
eb@cs.st-andrews.ac.uk**20090309153744]
|
||||
|
||||
[Make transforms part of state, and display of optimised terms
|
||||
eb@cs.st-andrews.ac.uk**20090309145419]
|
||||
|
||||
[Prettier time formatting
|
||||
eb@cs.st-andrews.ac.uk**20090309131334]
|
||||
|
||||
[Don't just crash if the command is invalid...
|
||||
eb@cs.st-andrews.ac.uk**20090309125424]
|
||||
|
||||
[Added global options
|
||||
eb@cs.st-andrews.ac.uk**20090309124541
|
||||
:o sets, :o f- or :o f+ to turn forcing/collapsing off/on
|
||||
:o r- or :o r+ to turn display of compile/run times off/on
|
||||
]
|
||||
|
||||
[Added collapsing optimisation
|
||||
eb@cs.st-andrews.ac.uk**20090309112238]
|
||||
|
||||
[Added unused argument elimination
|
||||
eb@cs.st-andrews.ac.uk**20090309004741
|
||||
Can fit within the optimisation framework, but you need to remember
|
||||
the transforms so far at each definition for maximum effect.
|
||||
]
|
||||
|
||||
[(Failed) effort at argument erasure
|
||||
eb@cs.st-andrews.ac.uk**20090308222948
|
||||
Trying to get it into the same framework as constructor transformations,
|
||||
but it isn't going to happen that easily.
|
||||
]
|
||||
|
||||
[Added forcing optimisation
|
||||
eb@cs.st-andrews.ac.uk**20090308164110]
|
||||
|
||||
[Decide tactic works out its arguments
|
||||
eb@cs.st-andrews.ac.uk**20090305165743]
|
||||
|
||||
[Allow redefining of do notation
|
||||
eb@cs.st-andrews.ac.uk**20090228164646]
|
||||
|
||||
[lookupIdx fix
|
||||
eb@cs.st-andrews.ac.uk**20090227231257]
|
||||
|
||||
[Added 'using' syntax
|
||||
eb@cs.st-andrews.ac.uk**20090226003439
|
||||
For blocks where lots of things use the same implicit arguments, saving
|
||||
lots of typing and clutter.
|
||||
(also allowed forward declaration of datatypes)
|
||||
]
|
||||
|
||||
[Fix conflict
|
||||
eb@cs.st-andrews.ac.uk**20090107121727]
|
||||
|
||||
[Laziness annotations
|
||||
eb@cs.st-andrews.ac.uk**20090107121328]
|
||||
|
||||
[Added decide tactic
|
||||
eb@cs.st-andrews.ac.uk**20081220221809]
|
||||
|
||||
[Add 'collapsible' flag
|
||||
eb@cs.st-andrews.ac.uk**20081219180742]
|
||||
|
||||
[Add TODO
|
||||
eb@cs.st-andrews.ac.uk**20081219180726]
|
||||
|
||||
[Some compiler fiddling
|
||||
eb@cs.st-andrews.ac.uk**20081219155920]
|
||||
|
||||
[Keep track of names which are still to be proved
|
||||
eb@cs.st-andrews.ac.uk**20081219143302]
|
||||
|
||||
[File operations
|
||||
eb@cs.st-andrews.ac.uk**20081218233527]
|
||||
|
||||
[Can allow the system to make up names for metavariables
|
||||
eb@cs.st-andrews.ac.uk**20081218233428]
|
||||
|
||||
[Deal with c includes and external libraries
|
||||
eb@cs.st-andrews.ac.uk**20081126150921]
|
||||
|
||||
[Fix foreign functions for IO
|
||||
eb@cs.st-andrews.ac.uk**20081102153832]
|
||||
|
||||
[Added Ptr primitive
|
||||
eb@cs.st-andrews.ac.uk**20081102134232]
|
||||
|
||||
[Add unsafePerformIO
|
||||
eb@cs.st-andrews.ac.uk**20081019171546
|
||||
Mostly meant for pure foreign functions, but of course you're free to abuse
|
||||
it as you like...
|
||||
]
|
||||
|
||||
[Add flags on functions to denote special behaviour
|
||||
eb@cs.st-andrews.ac.uk**20081019160020
|
||||
Specifically, so far:
|
||||
* %nocg Never generate code when compling
|
||||
* %eval Evaluate completely before compiling
|
||||
|
||||
This allows some 'meta-programs' to be written, which are fully evaluated
|
||||
before compiling. We use this for defining foreign functions easily.
|
||||
]
|
||||
|
||||
[Record paper changes!
|
||||
eb@cs.st-andrews.ac.uk**20080916170851]
|
||||
|
||||
[Added 'use' tactic
|
||||
eb@cs.st-andrews.ac.uk**20080916170742
|
||||
Like 'believe' but instead of just believing the value, adds subgoals for
|
||||
each required equality proof.
|
||||
]
|
||||
|
||||
[More of paper
|
||||
eb@cs.st-andrews.ac.uk**20080901161738]
|
||||
|
||||
[Added paper macros
|
||||
eb@cs.st-andrews.ac.uk**20080901094433]
|
||||
|
||||
[Starting on paper
|
||||
eb@cs.st-andrews.ac.uk**20080829091345]
|
||||
|
||||
[Compiling 'Foreign' constructor (but only when inline)
|
||||
eb@cs.st-andrews.ac.uk**20080826123458]
|
||||
|
||||
[Generate Idris functions from foreign function descriptions
|
||||
eb@cs.st-andrews.ac.uk**20080825164523]
|
||||
|
||||
[Some work towards constructor optimisations
|
||||
eb@cs.st-andrews.ac.uk**20080825094709]
|
||||
|
||||
[Basic foreign function framework
|
||||
eb@cs.st-andrews.ac.uk**20080825094631]
|
||||
|
||||
[Added test transformation on Vects
|
||||
eb@cs.st-andrews.ac.uk**20080731155217]
|
||||
|
||||
[Transformation application
|
||||
eb@cs.st-andrews.ac.uk**20080730125618]
|
||||
|
||||
['noElim' flag to allow big data types not to need elimination rules
|
||||
eb@cs.st-andrews.ac.uk**20080729125140]
|
||||
|
||||
[Added __toInt and __toString
|
||||
eb@cs.st-andrews.ac.uk**20080710151313
|
||||
Hacky for now, until we work out a nice way of doing coercions between
|
||||
primitives. But it makes some programs, like those which ask for an int
|
||||
as input, possible.
|
||||
]
|
||||
|
||||
[If an operator returns a boolean, the compiler had better make code to build a boolean!
|
||||
eb@cs.st-andrews.ac.uk**20080710145313]
|
||||
|
||||
[Deal with weird names that Ivor generates in the compiler
|
||||
eb@cs.st-andrews.ac.uk**20080709112032]
|
||||
|
||||
[Some Nat theorems
|
||||
eb@cs.st-andrews.ac.uk**20080709014158]
|
||||
|
||||
[Generalise tactic
|
||||
eb@cs.st-andrews.ac.uk**20080709014121]
|
||||
|
||||
[Need to give all the definitions to addIvor
|
||||
eb@cs.st-andrews.ac.uk**20080708203624]
|
||||
|
||||
[Don't crash when there's an error in input!
|
||||
eb@cs.st-andrews.ac.uk**20080708182610]
|
||||
|
||||
[Only allow 'believe' to rewrite values
|
||||
eb@cs.st-andrews.ac.uk**20080708165140
|
||||
This way at least the types have to be right before '?=' defined
|
||||
programs will run.
|
||||
]
|
||||
|
||||
[Added 'believe' tactic
|
||||
eb@cs.st-andrews.ac.uk**20080708160736
|
||||
For allowing the testing of programs before a complete proof term
|
||||
exists. Obviously programs built this way are not trustworthy! They make
|
||||
use of a "Suspend_Disbelief" function which just invents a rewrite rule
|
||||
that works, but which doesn't have a proof.
|
||||
]
|
||||
|
||||
[Added '?=' syntax
|
||||
eb@cs.st-andrews.ac.uk**20080708140505
|
||||
If you have a pattern clause, and don't know the definite type of the
|
||||
right hand side, use;
|
||||
foo patterns ?= def; [theoremName]
|
||||
|
||||
This will add a theorem called theoremName which fixes up the type,
|
||||
and you can prove it later, via :p or with the 'proof' syntax. Useful
|
||||
if you want to hide details of the proof of a necessary rewriting.
|
||||
]
|
||||
|
||||
[Catch errors in proofs, and allow abandoning
|
||||
eb@cs.st-andrews.ac.uk**20080708123202]
|
||||
|
||||
[Identify parameters of data types to make elimination rule properly
|
||||
eb@cs.st-andrews.ac.uk**20080708105930]
|
||||
|
||||
[Reading of proof scripts
|
||||
eb@cs.st-andrews.ac.uk**20080707010718]
|
||||
|
||||
[Add Undo, require % before tactics, and output script when done
|
||||
eb@cs.st-andrews.ac.uk**20080707004642]
|
||||
|
||||
[Rudimentary theorem prover now working
|
||||
eb@cs.st-andrews.ac.uk**20080706235523]
|
||||
|
||||
[Parsing tactics and proofs
|
||||
eb@cs.st-andrews.ac.uk**20080706222536]
|
||||
|
||||
[Adding some tactics
|
||||
eb@cs.st-andrews.ac.uk**20080706211202]
|
||||
|
||||
[Added :e command and call to epic
|
||||
eb@cs.st-andrews.ac.uk**20080702115125]
|
||||
|
||||
[forking needs the argument to be lazily evaluated
|
||||
eb@cs.st-andrews.ac.uk**20080630141845]
|
||||
|
||||
[Added threading to compiler
|
||||
eb@cs.st-andrews.ac.uk**20080630130045]
|
||||
|
||||
[Compiling IORefs
|
||||
eb@cs.st-andrews.ac.uk**20080630123521]
|
||||
|
||||
[Add Prelude.e, and prepend it to epic output
|
||||
eb@cs.st-andrews.ac.uk**20080630113450]
|
||||
|
||||
[Added Prover.lhs (not that it does much yet)
|
||||
eb@cs.st-andrews.ac.uk**20080623231341]
|
||||
|
||||
[Fix constructor expansion
|
||||
eb@cs.st-andrews.ac.uk**20080623111226]
|
||||
|
||||
[Got the basic compilation working
|
||||
eb@cs.st-andrews.ac.uk**20080622233141]
|
||||
|
||||
[Added proof token to Lexer
|
||||
eb@cs.st-andrews.ac.uk**20080516140747
|
||||
(not doing anything yet, it needs a separate parser)
|
||||
Also fix minor lexing error, and added ':i' command to drop into Ivor
|
||||
for debugging purposes.
|
||||
]
|
||||
|
||||
[Added 'normalise' command
|
||||
eb@cs.st-andrews.ac.uk**20080523140332
|
||||
Useful if you want to normalise an IO computation without running it.
|
||||
]
|
||||
|
||||
[Small implicit argument change
|
||||
eb@cs.st-andrews.ac.uk**20080513231721
|
||||
{a,b,c} now allowed (i.e no need for type label as in {a,b,c:_}
|
||||
Also, implicit arguments can now, syntactically, only appear at the
|
||||
left of types of top level declarations (since that is the only place they
|
||||
make sense with our simple way of handling such arguments).
|
||||
]
|
||||
|
||||
['!' to stop implicit arguments being added to a name
|
||||
eb@cs.st-andrews.ac.uk**20080513215523]
|
||||
|
||||
[Outputting Epic code
|
||||
eb@cs.st-andrews.ac.uk**20080511173955
|
||||
Still some things to sort out before this runs though
|
||||
]
|
||||
|
||||
[Removing IO boiler plate for compilation
|
||||
eb@cs.st-andrews.ac.uk**20080510170038]
|
||||
|
||||
[Lambda lifter
|
||||
eb@cs.st-andrews.ac.uk**20080509161049]
|
||||
|
||||
[Oops, broke the build *again*
|
||||
eb@cs.st-andrews.ac.uk**20080508220834]
|
||||
|
||||
[Data type for result of lambda lifting
|
||||
eb@cs.st-andrews.ac.uk**20080508214635]
|
||||
|
||||
[Compiler part 1 (pattern matching)
|
||||
eb@cs.st-andrews.ac.uk**20080508200113]
|
||||
|
||||
[partition
|
||||
eb@cs.st-andrews.ac.uk**20080508132348]
|
||||
|
||||
[Let's try not to apply patches which break the build...
|
||||
eb@cs.st-andrews.ac.uk**20080508111341]
|
||||
|
||||
[Patterns representation
|
||||
eb@cs.st-andrews.ac.uk**20080508110025]
|
||||
|
||||
[Added append to library
|
||||
eb@cs.st-andrews.ac.uk**20080429111614]
|
||||
|
||||
[Begin planning compiler
|
||||
eb@cs.st-andrews.ac.uk**20080414123534]
|
||||
|
||||
[brief note
|
||||
eb@cs.st-andrews.ac.uk**20080414103207]
|
||||
|
||||
[Minor LaTeX improvement
|
||||
eb@cs.st-andrews.ac.uk**20080330151806
|
||||
Output placeholders correctly. Can you tell I'm writing a paper ;).
|
||||
]
|
||||
|
||||
[Even more LaTeX fixes
|
||||
eb@cs.st-andrews.ac.uk**20080327115445]
|
||||
|
||||
[Fix some LaTeXing
|
||||
eb@cs.st-andrews.ac.uk**20080327113804]
|
||||
|
||||
[Some latex tidying
|
||||
eb@cs.st-andrews.ac.uk**20080325114709]
|
||||
|
||||
[Latex of do notating
|
||||
eb@cs.st-andrews.ac.uk**20080325110051]
|
||||
|
||||
[Add %latex directive to parser
|
||||
eb@cs.st-andrews.ac.uk**20080325105552]
|
||||
|
||||
[Allow giving latex commands for particular names in :l
|
||||
eb@cs.st-andrews.ac.uk**20080325103351]
|
||||
|
||||
[Basic LaTeX generation working
|
||||
eb@cs.st-andrews.ac.uk**20080324185632]
|
||||
|
||||
[Started LaTeX generation
|
||||
eb@cs.st-andrews.ac.uk**20080324170817]
|
||||
|
||||
[Implement :t in REPL
|
||||
eb@cs.st-andrews.ac.uk**20080324143135]
|
||||
|
||||
[Use readline for REPL, add :commands
|
||||
eb@cs.st-andrews.ac.uk**20080324141759]
|
||||
|
||||
[Oops, didn't mean to record the trace
|
||||
eb@cs.st-andrews.ac.uk**20080322115632]
|
||||
|
||||
[Allow types on bindings in do notation
|
||||
eb@cs.st-andrews.ac.uk**20080322114909]
|
||||
|
||||
[Fix bug: add placeholders inside infix ops
|
||||
eb@cs.st-andrews.ac.uk**20080320150127]
|
||||
|
||||
[Pretty print refl
|
||||
eb@cs.st-andrews.ac.uk**20080320134148]
|
||||
|
||||
[Bind multiple names in one go in type declarations
|
||||
eb@cs.st-andrews.ac.uk**20080320132941]
|
||||
|
||||
[Locks are semaphores
|
||||
eb@cs.st-andrews.ac.uk**20080319161532
|
||||
So allow them to be initialised with the number of processes allowed to
|
||||
hold onto then,
|
||||
]
|
||||
|
||||
[Missed a case in constant show
|
||||
eb@cs.st-andrews.ac.uk**20080318175442]
|
||||
|
||||
[Add Maybe and Either to prelude
|
||||
eb@cs.st-andrews.ac.uk**20080318224740]
|
||||
|
||||
[Use 'fastCheck' since we already know our IO programs work
|
||||
eb@cs.st-andrews.ac.uk**20080318161100]
|
||||
|
||||
[Pretty printing and parsing tweaks
|
||||
eb@cs.st-andrews.ac.uk**20080318161027]
|
||||
|
||||
[No point in generating elimination rules since we don't use them
|
||||
eb@cs.st-andrews.ac.uk**20080317162738
|
||||
Perhaps later, if linking to a theorem prover, it will be useful, but
|
||||
it can be done on demand.
|
||||
]
|
||||
|
||||
[Dump environment for metavars in the right order
|
||||
eb@cs.st-andrews.ac.uk**20080315230225]
|
||||
|
||||
[Nicer display of metavariables
|
||||
eb@cs.st-andrews.ac.uk**20080314174637]
|
||||
|
||||
[Added a pretty ugly pretty-printer for terms
|
||||
eb@cs.st-andrews.ac.uk**20080314154034]
|
||||
|
||||
[Added metavariable syntax
|
||||
eb@cs.st-andrews.ac.uk**20080314132802]
|
||||
|
||||
[Back in sync with Ivor (addPatternDef type changed)
|
||||
eb@cs.st-andrews.ac.uk**20080314011920]
|
||||
|
||||
[Add modules to .cabal for executable
|
||||
eb@cs.st-andrews.ac.uk**20080313134204]
|
||||
|
||||
[imports in RunIO
|
||||
eb@cs.st-andrews.ac.uk**20080312174755]
|
||||
|
||||
[minor cabal format
|
||||
gwern0@gmail.com**20080312041116]
|
||||
|
||||
[improve cabal metadata for hackage, split into lib/main
|
||||
gwern0@gmail.com**20080312041034]
|
||||
|
||||
[fix sdist
|
||||
gwern0@gmail.com**20080312040218]
|
||||
|
||||
[+Extensions
|
||||
gwern0@gmail.com**20080312035953]
|
||||
|
||||
[Context.lhs -> Context.hs
|
||||
gwern0@gmail.com**20080312035926
|
||||
Literate files are just wasteful if they aren't literate
|
||||
]
|
||||
|
||||
[dehaskell98
|
||||
gwern0@gmail.com**20080312035905]
|
||||
|
||||
[Update ioref example
|
||||
eb@cs.st-andrews.ac.uk**20080312125024]
|
||||
|
||||
[Added IORefs
|
||||
eb@cs.st-andrews.ac.uk**20080312123834]
|
||||
|
||||
[Added some concurrency primitives
|
||||
eb@cs.st-andrews.ac.uk**20080311205546
|
||||
fork, newLock, lock, unlock
|
||||
]
|
||||
|
||||
[Add simple stateful DSL
|
||||
eb@cs.st-andrews.ac.uk**20080311151020]
|
||||
|
||||
[Add placeholders in do expressions too!
|
||||
eb@cs.st-andrews.ac.uk**20080311150824]
|
||||
|
||||
[Be more implicit!
|
||||
eb@cs.st-andrews.ac.uk**20080310135937]
|
||||
|
||||
[Better if testVect has ints
|
||||
eb@cs.st-andrews.ac.uk**20080310133325]
|
||||
|
||||
[syntax tinker in partition.idr
|
||||
eb@cs.st-andrews.ac.uk**20080310132921]
|
||||
|
||||
[Syntax for let bindings
|
||||
eb@cs.st-andrews.ac.uk**20080310025357]
|
||||
|
||||
[if...then...else syntax
|
||||
eb@cs.st-andrews.ac.uk**20080310024516]
|
||||
|
||||
[Member predicate
|
||||
eb@cs.st-andrews.ac.uk**20080310013200]
|
||||
|
||||
[Syntax for _ patterns
|
||||
eb@cs.st-andrews.ac.uk**20080310012608]
|
||||
|
||||
[Rename List
|
||||
eb@cs.st-andrews.ac.uk**20080310002023]
|
||||
|
||||
[builtins needs bool
|
||||
eb@cs.st-andrews.ac.uk**20080310001809]
|
||||
|
||||
[Removed samples which should be in lib
|
||||
eb@cs.st-andrews.ac.uk**20080309224149]
|
||||
|
||||
[Added io example
|
||||
eb@cs.st-andrews.ac.uk**20080309223957]
|
||||
|
||||
[More keeping in sync with Ivor
|
||||
eb@cs.st-andrews.ac.uk**20080309222931]
|
||||
|
||||
[Take advantage of better ivor inference
|
||||
eb@cs.st-andrews.ac.uk**20080309213603]
|
||||
|
||||
[Added vect lib
|
||||
eb@cs.st-andrews.ac.uk**20080308185405]
|
||||
|
||||
[Added List to library
|
||||
eb@cs.st-andrews.ac.uk**20080308185119]
|
||||
|
||||
[Lambdas can take multiple arguments
|
||||
eb@cs.st-andrews.ac.uk**20080308185050]
|
||||
|
||||
[Added integer comparison operators
|
||||
eb@cs.st-andrews.ac.uk**20080308134245]
|
||||
|
||||
[Add polymorphic boolean equality
|
||||
eb@cs.st-andrews.ac.uk**20080308133304]
|
||||
|
||||
[Added library paths and a simple prelude
|
||||
eb@cs.st-andrews.ac.uk**20080308132011]
|
||||
|
||||
[Some primitive operators, and '=' for JM equality
|
||||
eb@cs.st-andrews.ac.uk**20080307234257]
|
||||
|
||||
[Use WHNF for evaluation now Ivor has it
|
||||
eb@cs.st-andrews.ac.uk**20080307195902]
|
||||
|
||||
[Added builtins
|
||||
eb@cs.st-andrews.ac.uk**20080307173517]
|
||||
|
||||
[add RunIO.hs
|
||||
eb@cs.st-andrews.ac.uk**20080306114827]
|
||||
|
||||
[Added more samples (IO not quite working yet due to Ivor bug though)
|
||||
eb@cs.st-andrews.ac.uk**20080305170333]
|
||||
|
||||
[Add do notation
|
||||
eb@cs.st-andrews.ac.uk**20080305170312]
|
||||
|
||||
['include' files
|
||||
eb@cs.st-andrews.ac.uk**20080305112534]
|
||||
|
||||
[Latest Ivor allows more implicitness
|
||||
eb@cs.st-andrews.ac.uk**20080305104707]
|
||||
|
||||
[Enough annotations to make interp work
|
||||
eb@cs.st-andrews.ac.uk**20080305001951]
|
||||
|
||||
[Allow forward declarations for functions, add quicksort example
|
||||
eb@cs.st-andrews.ac.uk**20080305000656]
|
||||
|
||||
[Added 'partition' example
|
||||
eb@cs.st-andrews.ac.uk**20080304224512]
|
||||
|
||||
[Easier to put implicit arguments in pattern clauses
|
||||
eb@cs.st-andrews.ac.uk**20080304224425]
|
||||
|
||||
[John Major equality syntax
|
||||
eb@cs.st-andrews.ac.uk**20080304215146]
|
||||
|
||||
[Added interpreter example, fixed simple sample
|
||||
eb@cs.st-andrews.ac.uk**20080303164114]
|
||||
|
||||
[Changed some syntax
|
||||
eb@cs.st-andrews.ac.uk**20080303163946
|
||||
- Implicit arguments can now be named when applied, so that the parser
|
||||
knows which argument you mean
|
||||
- No need for {} around definitions
|
||||
- Type of types is #
|
||||
|
||||
]
|
||||
|
||||
[make sure constructur arguments get new names generated
|
||||
eb@cs.st-andrews.ac.uk**20080229003215]
|
||||
|
||||
[Added samples directory
|
||||
eb@cs.st-andrews.ac.uk**20080228232920]
|
||||
|
||||
[First version which runs code!
|
||||
eb@cs.st-andrews.ac.uk**20080228232820]
|
||||
|
||||
[Some simple examples
|
||||
eb@cs.st-andrews.ac.uk**20080228175453]
|
||||
|
||||
[Now building terms and datatypes for Ivor with implicit args added
|
||||
eb@cs.st-andrews.ac.uk**20080228161136]
|
||||
|
||||
[More work on parser; constants, lambdas, new syntax tree
|
||||
eb@cs.st-andrews.ac.uk**20080226111951]
|
||||
|
||||
[Parser for datatypes and basic function definitions
|
||||
eb@cs.st-andrews.ac.uk**20080108171829]
|
||||
|
||||
[Started parser
|
||||
eb@cs.st-andrews.ac.uk**20071214181416]
|
||||
|
||||
[First chunk of code
|
||||
eb@cs.st-andrews.ac.uk**20071212114523]
|
|
@ -1,9 +1,9 @@
|
|||
rec {
|
||||
version="1.0.41";
|
||||
name="sbcl-1.0.41";
|
||||
hash="019h0lrbd4q1f0bfwg3974pq81qcriwk5kd3v7gp1dmi5rajgnrk";
|
||||
url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.41/sbcl-1.0.41-source.tar.bz2";
|
||||
advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.41/sbcl-1.0.41-source.tar.bz2";
|
||||
version="1.0.42";
|
||||
name="sbcl-1.0.42";
|
||||
hash="0j699rb3nw7akcmpqjlzwsrc0yg6kj6nf9bzfhnw19q1m4kl4pm5";
|
||||
url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.42/sbcl-1.0.42-source.tar.bz2";
|
||||
advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.42/sbcl-1.0.42-source.tar.bz2";
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{stdenv, fetchurl, pkgconfig, strategoPackages}:
|
||||
{ stdenv, fetchurl, pkgconfig, strategoPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "webdsl-9.7pre3056";
|
||||
name = "webdsl-9.7pre4168";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://hydra.nixos.org/build/71896/download/1/webdsl-9.7pre3056.tar.gz";
|
||||
sha256 = "3446b7e9dac27a9fd35541a57e961be5b74f2f9e3fb02dc14c86f945b47df045";
|
||||
url = "http://hydra.nixos.org/build/654196/download/1/${name}.tar.gz";
|
||||
sha256 = "08bec3ba02254ec7474ce70206b7be4390fe07456cfc57d927d96a21dd6dcb33";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig strategoPackages.aterm strategoPackages.sdf
|
||||
strategoPackages.strategoxt strategoPackages.javafront
|
||||
];
|
||||
buildInputs =
|
||||
[ pkgconfig strategoPackages.aterm strategoPackages.sdf
|
||||
strategoPackages.strategoxt strategoPackages.javafront
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://webdsl.org/;
|
||||
|
|
70
pkgs/development/interpreters/racket/default.nix
Normal file
70
pkgs/development/interpreters/racket/default.nix
Normal file
|
@ -0,0 +1,70 @@
|
|||
{ stdenv
|
||||
, fetchurl
|
||||
, cairo
|
||||
, coreutils
|
||||
, file
|
||||
, libjpeg
|
||||
, libpng
|
||||
, libtool
|
||||
, libXaw
|
||||
, libXext
|
||||
, libXft
|
||||
, libXrender
|
||||
, libXt
|
||||
, libXmu
|
||||
, mesa
|
||||
, pkgconfig
|
||||
, which } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "racket";
|
||||
version = "5.0.1";
|
||||
pname = "${name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.racket-lang.org/installers/${version}/${name}/${pname}-src-unix.tgz";
|
||||
sha256 = "18bzzzbxvr888lnpwggismq5grysrwlyg2dp026hhv5n2mk5sfvn";
|
||||
};
|
||||
|
||||
buildInputs = [ cairo
|
||||
coreutils
|
||||
file
|
||||
libjpeg
|
||||
libpng
|
||||
libtool
|
||||
libXaw
|
||||
libXext
|
||||
libXft
|
||||
libXrender
|
||||
libXt
|
||||
libXmu
|
||||
mesa
|
||||
pkgconfig
|
||||
which
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
cd src
|
||||
sed -e 's@/usr/bin/uname@'"$(which uname)"'@g' -i configure
|
||||
sed -e 's@/usr/bin/file@'"$(which file)"'@g' -i foreign/libffi/configure
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" ];
|
||||
|
||||
meta = {
|
||||
description = "Racket (formerly called PLT Scheme) is a programming language derived from Scheme.";
|
||||
longDescription = ''
|
||||
Racket (formerly called PLT Scheme) is a programming language derived
|
||||
from Scheme. The Racket project has four primary components: the
|
||||
implementation of Racket, a JIT compiler; DrRacket, the Racket program
|
||||
development environment; the TeachScheme! outreach, an attempt to turn
|
||||
Computing and Programming into "an indispensable part of the liberal
|
||||
arts curriculum"; and PLaneT, Racket's web-based package
|
||||
distribution system for user-contributed packages.
|
||||
'';
|
||||
|
||||
homepage = http://racket-lang.org/;
|
||||
license = "LGPL";
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -87,7 +87,7 @@ let libs =
|
|||
ensureDir "$out/nix-support"
|
||||
export HOME=$TMP/home; mkdir "$HOME"
|
||||
|
||||
gem install -V --ignore-dependencies -E -i "$out" "$src" $gemFlags -- $buildFlags
|
||||
gem install -V --ignore-dependencies -i "$out" "$src" $gemFlags -- $buildFlags
|
||||
rm -fr $out/cache # don't keep the .gem file here
|
||||
|
||||
THIS_RUBY_LIB=$(echo $out/gems/*/lib)
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{ fetchurl, stdenv, pkgconfig, mesa, libXi, libXfixes, libXdamage
|
||||
, libXcomposite, cairo, glib, pango, gtk }:
|
||||
, libXcomposite, cairo, glib, pango, gtk, json_glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clutter-1.2.10";
|
||||
name = "clutter-1.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://source.clutter-project.org/sources/clutter/1.2/${name}.tar.gz";
|
||||
sha256 = "0bdnj026lqmwpgml73q4r0v90gsksjz0nv2fgjda9619bzx47igi";
|
||||
url = "http://source.clutter-project.org/sources/clutter/1.4/${name}.tar.bz2";
|
||||
sha256 = "15icq2gf2fi098lq1wqr7sq2cnb00g1ids050a5z3f43l1ajrnxw";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
# There are all listed in the `Requires' field of `clutter-x11-1.0.pc'.
|
||||
propagatedBuildInputs =
|
||||
[ mesa cairo glib pango gtk
|
||||
[ mesa cairo glib pango gtk json_glib
|
||||
libXi libXfixes libXdamage libXcomposite
|
||||
];
|
||||
|
||||
|
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
license = "LGPLv2+";
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{cabal, mtl, parsec}:
|
||||
{cabal, mtl, parsec, binary}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "ivor";
|
||||
version = "0.1.8";
|
||||
sha256 = "e51ad07c78ea0cad6fce9253012258dbf7c740198792aa4a446e1f0269a9186d";
|
||||
propagatedBuildInputs = [mtl parsec];
|
||||
version = "0.1.12";
|
||||
sha256 = "77f17df646afbe5199d4ab0291515013ad1bda471b2690512f752b752a2905f5";
|
||||
propagatedBuildInputs = [mtl parsec binary];
|
||||
meta = {
|
||||
description = "Theorem proving library based on dependent type theory";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
let
|
||||
pname = "icu4c";
|
||||
version = "4.4.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "icu4c-4.5.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.icu-project.org/files/icu4c/4.5.1/icu4c-4_5_1-src.tgz;
|
||||
sha256 = "1cbjwz99rqy6r3rb3022qlcrfvncvgigpb7n9824jadz9m17lmfm";
|
||||
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
|
||||
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
|
||||
sha256 = "0qrhf9gsj38saxfzpzvlwp1jwdsxr06npdds5dbsc86shg0lz69l";
|
||||
};
|
||||
|
||||
patchFlags = "-p0";
|
||||
|
||||
CFLAGS = "-O0";
|
||||
CXXFLAGS = "-O0";
|
||||
|
||||
postUnpack = "
|
||||
sourceRoot=\${sourceRoot}/source
|
||||
echo Source root reset to \${sourceRoot}
|
||||
|
@ -22,6 +23,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = {
|
||||
description = "Unicode and globalization support library";
|
||||
homepage = http://site.icu-project.org/;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
|
|
22
pkgs/development/libraries/json-glib/default.nix
Normal file
22
pkgs/development/libraries/json-glib/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl, glib, pkgconfig }:
|
||||
|
||||
let
|
||||
pname = "json-glib";
|
||||
version = "0.10.4";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/0.10/${name}.tar.bz2";
|
||||
sha256 = "1naydnjagxw5gsq77lhaasjzfv1kp19v6bkybg1krq7rsd0v7n7g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
homepage = http://live.gnome.org/JsonGlib;
|
||||
description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
|
||||
};
|
||||
}
|
|
@ -14,5 +14,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Color management engine";
|
||||
homepage = http://www.littlecms.com/;
|
||||
license = "MIT";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
|
22
pkgs/development/libraries/libctemplate/default.nix
Normal file
22
pkgs/development/libraries/libctemplate/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A simple but powerful template language for C++";
|
||||
longDescription = ''
|
||||
CTemplate is a simple but powerful template language for C++. It
|
||||
emphasizes separating logic from presentation: it is impossible to
|
||||
embed application logic in this template language. '';
|
||||
homepage = http://code.google.com/p/google-ctemplate/;
|
||||
license = "bsd";
|
||||
};
|
||||
|
||||
pname = "ctemplate";
|
||||
version = "0.97";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://google-ctemplate.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0p588zjf7gyi06rcggh9ljx2bj5250zi7s8y3vxmg3j9vddhkdyx";
|
||||
};
|
||||
}
|
19
pkgs/development/libraries/libgadu/default.nix
Normal file
19
pkgs/development/libraries/libgadu/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "libgadu-1.9.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://toxygen.net/libgadu/files/libgadu-1.9.0.tar.gz;
|
||||
sha256 = "1ygmda23hf7cysns9kglsiljzb4x8339n878k70yacgzm07dryhj";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)";
|
||||
homepage = http://toxygen.net/libgadu/;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = "LGPLv2.1";
|
||||
};
|
||||
|
||||
}
|
|
@ -1,13 +1,21 @@
|
|||
{stdenv, fetchurl, gettext, perl, perlXMLParser, pkgconfig, glib, libxml2 }:
|
||||
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
|
||||
libxml2, sqlite, libplist, libusb1, zlib, sg3_utils, gtk, taglib,
|
||||
libimobiledevice, python, pygobject, mutagen, swig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libgpod-0.7.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgpod-0.7.94";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/gtkpod/libgpod-0.7.2.tar.gz;
|
||||
sha256 = "0xq7947rqf99n9zvbpxfwwkid5z8d2szv5s0024rq37d6zy333rf";
|
||||
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
|
||||
sha256 = "0bs6p5np8kbyhvkj4vza2dmq7qfsf48chx00hirkf3mqccp41xk4";
|
||||
};
|
||||
|
||||
buildInputs = [ gettext perl perlXMLParser pkgconfig glib libxml2 ];
|
||||
patchPhase = ''sed -e "s,udevdir=,&$out," -i configure'';
|
||||
configureFlags = "--without-hal --enable-udev";
|
||||
|
||||
propagatedBuildInputs = [ glib libxml2 sqlite libplist libusb1 zlib sg3_utils
|
||||
gtk taglib libimobiledevice python pygobject mutagen ];
|
||||
|
||||
buildInputs = [ gettext perlXMLParser intltool pkgconfig perl swig ];
|
||||
|
||||
meta = {
|
||||
homepage = http://gtkpod.sourceforge.net/;
|
||||
|
|
33
pkgs/development/libraries/libimobiledevice/default.nix
Normal file
33
pkgs/development/libraries/libimobiledevice/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchurl, python, swig, pkgconfig, usbmuxd, glib, gnutls, libgcrypt,
|
||||
libtasn1, libplist, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libimobiledevice-1.0.2";
|
||||
|
||||
buildInputs = [ python swig pkgconfig readline ];
|
||||
propagatedBuildInputs = [ usbmuxd glib gnutls libgcrypt libtasn1 libplist ];
|
||||
|
||||
configureFlags = "--enable-dev-tools";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
||||
sha256 = "1wbx0hr0q1dhw1p7326qm3dvzacykhc4w005q5wp2gkxa68dnw5s";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.libimobiledevice.org;
|
||||
description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
|
||||
longDescription = ''
|
||||
libimobiledevice is a software library that talks the protocols to support
|
||||
iPhone®, iPod Touch® and iPad® devices on Linux. Unlike other projects, it
|
||||
does not depend on using any existing proprietary libraries and does not
|
||||
require jailbreaking. It allows other software to easily access the
|
||||
device's filesystem, retrieve information about the device and it's
|
||||
internals, backup/restore the device, manage SpringBoard® icons, manage
|
||||
installed applications, retrieve addressbook/calendars/notes and bookmarks
|
||||
and synchronize music and video to the device. The library is in
|
||||
development since August 2007 with the goal to bring support for these
|
||||
devices to the Linux Desktop.'';
|
||||
inherit (usbmuxd.meta) platforms maintainers;
|
||||
};
|
||||
}
|
23
pkgs/development/libraries/liblastfm/default.nix
Normal file
23
pkgs/development/libraries/liblastfm/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl, ruby, qt4, pkgconfig, libsamplerate, fftwSinglePrec }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "liblastfm-0.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cdn.last.fm/src/${name}.tar.bz2";
|
||||
sha256 = "0vgpkbqmynm975nlcw3caxpz30wvvz35c7a9kfr2wjqizvxrfwnx";
|
||||
};
|
||||
|
||||
prefixKey = "--prefix ";
|
||||
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
|
||||
buildInputs = [ ruby pkgconfig ];
|
||||
|
||||
patchPhase = "patchShebangs .";
|
||||
|
||||
meta = {
|
||||
homepage = http://github.com/mxcl/liblastfm;
|
||||
description = "Official LastFM library";
|
||||
inherit (qt4.meta) platforms;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
19
pkgs/development/libraries/liblastfmSF/default.nix
Normal file
19
pkgs/development/libraries/liblastfmSF/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, fetchurl, pkgconfig, curl, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "liblastfm-SF-0.3.2";
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ curl openssl ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/liblastfm/liblastfm-0.3.2.tar.gz";
|
||||
sha256 = "1hk62giysi96h6cyjyph69nlv1v4vw45w3sx7i2m89i9aysd6qp7";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://liblastfm.sourceforge.net;
|
||||
description = "Unofficial C lastfm library";
|
||||
};
|
||||
}
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = {
|
||||
description = "Reference library for reading, displaying, writing and examining Multiple-Image Network Graphics";
|
||||
homepage = http://sourceforge.net/projects/libmng;
|
||||
homepage = http://www.libmng.com;
|
||||
license = "zlib/libpng";
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
|
24
pkgs/development/libraries/libmtp/default.nix
Normal file
24
pkgs/development/libraries/libmtp/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, libusb }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmtp-1.0.1";
|
||||
|
||||
propagatedBuildInputs = [ libusb ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libmtp/${name}.tar.gz";
|
||||
sha256 = "19iha1yi07cdqzlba4ng1mn7h701binalwwkb71q0ld9b88mad6s";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://libmtp.sourceforge.net;
|
||||
description = "An implementation of Microsoft's Media Transfer Protocol";
|
||||
longDescription = ''
|
||||
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
||||
in the form of a library suitable primarily for POSIX compliant operating
|
||||
systems. We implement MTP Basic, the stuff proposed for standardization.
|
||||
'';
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||
description = "Opensource implementation of the Open Financial eXchange specification";
|
||||
homepage = http://libofx.sourceforge.net/;
|
||||
license = "LGPL";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
22
pkgs/development/libraries/libplist/default.nix
Normal file
22
pkgs/development/libraries/libplist/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl, cmake, libxml2, glib, swig, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libplist-1.3";
|
||||
|
||||
buildInputs = [ cmake swig ];
|
||||
|
||||
patches = [ ./swig.patch ];
|
||||
|
||||
propagatedBuildInputs = [ libxml2 glib python ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://github.com/downloads/JonathanBeck/libplist/${name}.tar.bz2";
|
||||
sha256 = "1c5nwp9jbsp5kx8avmmsr5g7qdngnqlplh2sjbygmhydb6n8lb4q";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://github.com/JonathanBeck/libplist;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
37
pkgs/development/libraries/libplist/swig.patch
Normal file
37
pkgs/development/libraries/libplist/swig.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
commit ca6096bc29873d5a3c03d782b134253ac2e61beb
|
||||
Author: Yury G. Kudryashov <urkud.urkud@gmail.com>
|
||||
Date: Fri Sep 24 17:16:40 2010 +0400
|
||||
|
||||
Install python bindings to libplist prefix, not to system directory.
|
||||
|
||||
This allows one to install libplist to $HOME/prefix and adjust
|
||||
PYTHONPATH.
|
||||
|
||||
diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
|
||||
index 379cb95..fcacde0 100644
|
||||
--- a/swig/CMakeLists.txt
|
||||
+++ b/swig/CMakeLists.txt
|
||||
@@ -9,16 +9,18 @@ SWIG_ADD_MODULE( plist python plist.i )
|
||||
SWIG_LINK_LIBRARIES( plist plist plist++ ${PYTHON_LIBRARIES} )
|
||||
|
||||
EXEC_PROGRAM("${PYTHON_EXECUTABLE}"
|
||||
- ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)\nexcept: pass\n'"
|
||||
- OUTPUT_VARIABLE DISTUTILS_PYTHON_ILIBRARY_PATH
|
||||
+ ARGS "-c 'import sys; print sys.version[:3];'"
|
||||
+ OUTPUT_VARIABLE PYTHON_SHORT_VERSION
|
||||
)
|
||||
|
||||
+SET(PYTHON_SITE_PACKAGES_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_SHORT_VERSION}/site-packages CACHE PATH "The directory where python modules will be installed to.")
|
||||
+
|
||||
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/_plist${CMAKE_SHARED_MODULE_SUFFIX}
|
||||
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
|
||||
+ DESTINATION ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/plist/ )
|
||||
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/plist.py
|
||||
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
|
||||
+ DESTINATION ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/plist/ )
|
||||
INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
|
||||
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
|
||||
+ DESTINATION ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/plist/ )
|
||||
INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/plist.i
|
||||
DESTINATION include/plist/swig COMPONENT dev)
|
||||
|
17
pkgs/development/libraries/libusb1/default.nix
Normal file
17
pkgs/development/libraries/libusb1/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libusb-1.0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libusb/${name}.tar.bz2";
|
||||
sha256 = "1afvpaqnl5plqg95nkvsl4sj9d6ckrmjq44mql8l4zqgf6jx7l11";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.libusb.org;
|
||||
description = "User-space USB library";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
19
pkgs/development/libraries/libwpg/default.nix
Normal file
19
pkgs/development/libraries/libwpg/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libwpd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libwpg-0.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libwpg/${name}.tar.bz2";
|
||||
sha256 = "086mgy36mia76mpfa2qgn0q44b3aigvvng9snzrxh60v3v9wixa7";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libwpd ];
|
||||
|
||||
meta = {
|
||||
homepage = http://libwpg.sourceforge.net;
|
||||
description = "C++ library to parse WPG";
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -20,5 +20,6 @@ stdenv.mkDerivation {
|
|||
homepage = http://www.openjpeg.org/;
|
||||
description = "Open-source JPEG 2000 codec written in C language";
|
||||
license = "BSD";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, buildDemos ? false, buildExamples ? false, useDocs ? true}:
|
||||
|
||||
let
|
||||
v = "4.7.0-rc1";
|
||||
v = "4.7.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
|
||||
sha256 = "1bfvd42sdabb86m823yzbzgcy1sibd4ypz2wqaazd77ji768dn2r";
|
||||
sha256 = "0mbr7sjaswkd5gibyb36mlaas049fj8vf2risi66fzfac3amclp0";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -90,12 +90,10 @@ stdenv.mkDerivation rec {
|
|||
${if buildExamples == true then "-make examples" else "-nomake examples"}
|
||||
${if useDocs then "-make docs" else "-nomake docs"}'';
|
||||
|
||||
patches = [ ./phonon-4.4.0.patch ];
|
||||
|
||||
postPatch = ''
|
||||
prePatch = ''
|
||||
substituteInPlace configure --replace /bin/pwd pwd
|
||||
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
|
||||
sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||
sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
diff --git a/src/3rdparty/phonon/phonon/phononnamespace.h b/src/3rdparty/phonon/phonon/phononnamespace.h
|
||||
index ec42d51..eb899de 100644
|
||||
--- a/src/3rdparty/phonon/phonon/phononnamespace.h
|
||||
+++ b/src/3rdparty/phonon/phonon/phononnamespace.h
|
||||
@@ -41,12 +41,12 @@
|
||||
/**
|
||||
* PHONON_VERSION is (major << 16) + (minor << 8) + patch.
|
||||
*/
|
||||
-#define PHONON_VERSION PHONON_VERSION_CHECK(4, 3, 1)
|
||||
+#define PHONON_VERSION PHONON_VERSION_CHECK(4, 4, 0)
|
||||
|
||||
/**
|
||||
* PHONON_VERSION_STR is "major.minor.patch". E.g. "4.2.1"
|
||||
*/
|
||||
-#define PHONON_VERSION_STR "4.3.1"
|
||||
+#define PHONON_VERSION_STR "4.4.0"
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
QT_BEGIN_NAMESPACE
|
19
pkgs/development/libraries/taglib/1.7.nix
Normal file
19
pkgs/development/libraries/taglib/1.7.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{stdenv, fetchsvn, zlib, cmake}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "taglib-1.7a";
|
||||
|
||||
src = fetchsvn {
|
||||
url = svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib;
|
||||
rev = 1145554;
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DWITH-ASF=ON" "-DWITH-MP4=ON" ];
|
||||
|
||||
buildInputs = [ zlib cmake ];
|
||||
|
||||
meta = {
|
||||
homepage = http://developer.kde.org/~wheeler/taglib.html;
|
||||
description = "A library for reading and editing the meta-data of several popular audio formats";
|
||||
};
|
||||
}
|
|
@ -32,7 +32,7 @@ rec {
|
|||
# https://bugs.webkit.org/show_bug.cgi?id=42943
|
||||
# "--enable-wml"
|
||||
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=43863
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=45110
|
||||
# "--enable-indexed-database"
|
||||
|
||||
# "--enable-xhtmlmp"
|
||||
|
@ -44,7 +44,7 @@ rec {
|
|||
# "--enable-blob"
|
||||
|
||||
# May be or not be triggering https://bugs.webkit.org/show_bug.cgi?id=43878
|
||||
"--enable-file-system"
|
||||
# "--enable-file-system"
|
||||
"--enable-directory-upload"
|
||||
];
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
rec {
|
||||
version="r65398";
|
||||
name="webkit-r65398";
|
||||
hash="0y9pfhff1nyc818li8lqdkq906yi1r9n9zzmgymx8zpqxg8kcmk8";
|
||||
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r65398.tar.bz2";
|
||||
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r65398.tar.bz2";
|
||||
version="r67838";
|
||||
name="webkit-r67838";
|
||||
hash="0njncks7n9a1zmdpsbv9dm2iszdkgnd8an0dbg4fvy05ykmvfcms";
|
||||
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r67838.tar.bz2";
|
||||
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r67838.tar.bz2";
|
||||
|
||||
|
||||
}
|
||||
|
|
20
pkgs/development/libraries/xbase/default.nix
Normal file
20
pkgs/development/libraries/xbase/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xbase-3.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/xdb/xbase64-3.1.2.tar.gz;
|
||||
sha256 = "17287kz1nmmm64y7zp9nhhl7slzlba09h6cc83w4mvsqwd9w882r";
|
||||
};
|
||||
|
||||
prePatch = "find . -type f -not -name configure -print0 | xargs -0 chmod -x";
|
||||
patches = [ ./xbase-fixes.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://linux.techass.com/projects/xdb/;
|
||||
description = "XBase compatible C++ class library formerly known as XDB";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
34
pkgs/development/libraries/xbase/xbase-fixes.patch
Normal file
34
pkgs/development/libraries/xbase/xbase-fixes.patch
Normal file
|
@ -0,0 +1,34 @@
|
|||
diff --git a/xbase64/xbase64.cpp b/xbase64/xbase64.cpp
|
||||
index fc5613d..2449535 100644
|
||||
--- a/xbase64/xbase64.cpp
|
||||
+++ b/xbase64/xbase64.cpp
|
||||
@@ -51,6 +51,7 @@
|
||||
#include <xbase64/xbase64.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
+#include <cerrno>
|
||||
|
||||
//#include <xbase64/xbexcept.h>
|
||||
|
||||
diff --git a/xbase64/xblock.cpp b/xbase64/xblock.cpp
|
||||
index c44cbb9..3554fc1 100644
|
||||
--- a/xbase64/xblock.cpp
|
||||
+++ b/xbase64/xblock.cpp
|
||||
@@ -53,6 +53,7 @@
|
||||
#endif
|
||||
|
||||
#include <xbase64/xbase64.h>
|
||||
+#include <cerrno>
|
||||
|
||||
#ifdef HAVE_IO_H // windows locking
|
||||
#include <io.h>
|
||||
diff --git a/xbase64/xbnode.cpp b/xbase64/xbnode.cpp
|
||||
index 5e688c1..3c652b3 100644
|
||||
--- a/xbase64/xbnode.cpp
|
||||
+++ b/xbase64/xbnode.cpp
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include "xbNode.h"
|
||||
+#include "xbnode.h"
|
||||
|
||||
void xbNodeLink::AddNode(xbNodeLink* node)
|
||||
{
|
|
@ -1,13 +1,19 @@
|
|||
{fetchurl, stdenv, replace, curl, expat, zlib
|
||||
, useNcurses ? false, ncurses, useQt4 ? false, qt4}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cmake-${majorVersion}.1";
|
||||
|
||||
let
|
||||
os = stdenv.lib.optionalString;
|
||||
majorVersion = "2.8";
|
||||
minorVersion = "1";
|
||||
version = "${majorVersion}.${minorVersion}";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cmake-${os useNcurses "cursesUI-"}${os useQt4 "qt4UI-"}${version}";
|
||||
|
||||
inherit majorVersion;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.cmake.org/files/v${majorVersion}/${name}.tar.gz";
|
||||
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
|
||||
sha256 = "0hi28blqxvir0dkhln90sgr0m3ri9n2i3hlmwdl4m5vkfsmp9bky";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo
|
||||
, dejagnu, target ? null }:
|
||||
, dejagnu, python, target ? null }:
|
||||
|
||||
let
|
||||
basename = "gdb-7.2";
|
||||
|
@ -13,8 +13,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1w0h6hya0bl46xddd57mdzwmffplwglhnh9x9hv46ll4mf44ni5z";
|
||||
};
|
||||
|
||||
# TODO: Add optional support for Python scripting.
|
||||
buildInputs = [ ncurses readline gmp mpfr expat texinfo ]
|
||||
buildInputs = [ ncurses readline gmp mpfr expat texinfo python ]
|
||||
++ stdenv.lib.optional doCheck dejagnu;
|
||||
|
||||
configureFlags =
|
||||
|
|
|
@ -37,5 +37,6 @@ rec {
|
|||
name = "xxdiff-3.2";
|
||||
meta = {
|
||||
description = "Interactive merge tool";
|
||||
homepage = http://furius.ca/xxdiff/;
|
||||
};
|
||||
}
|
||||
|
|
10
pkgs/games/crack-attack/crack-attack-1.1.14-gcc43.patch
Normal file
10
pkgs/games/crack-attack/crack-attack-1.1.14-gcc43.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- crack-attack-1.1.14/src/Game.h
|
||||
+++ crack-attack-1.1.14/src/Game.h
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
+#include <cstring>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# include <windows.h>
|
10
pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
Normal file
10
pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- crack-attack-1.1.14/src/Attack.cxx
|
||||
+++ crack-attack-1.1.14/src/Attack.cxx
|
||||
@@ -83,6 +83,7 @@
|
||||
int height = -1, width = -1;
|
||||
|
||||
player_name[0] = '\0';
|
||||
+ glutInit(&argc, argv);
|
||||
parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
|
||||
run_crack_attack(mode, port, host_name, player_name, height, width);
|
||||
|
27
pkgs/games/crack-attack/default.nix
Normal file
27
pkgs/games/crack-attack/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gtk, freeglut, SDL, mesa, libXi, libXmu}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "crack-attack-1.1.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://savannah/crack-attack/crack-attack-1.1.14.tar.gz;
|
||||
sha256 = "1sakj9a2q05brpd7lkqxi8q30bccycdzd96ns00s6jbxrzjlijkm";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
pkgconfig gtk freeglut SDL mesa libXi libXmu
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
|
||||
homepage = http://www.nongnu.org/crack-attack/;
|
||||
license = "GPLv2";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
patches = [
|
||||
./crack-attack-1.1.14-gcc43.patch
|
||||
./crack-attack-1.1.14-glut.patch
|
||||
];
|
||||
}
|
62
pkgs/games/instead/default.nix
Normal file
62
pkgs/games/instead/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, SDL_mixer, pkgconfig, lua, zlib, unzip }:
|
||||
|
||||
let
|
||||
version = "1.2.2";
|
||||
|
||||
# I took two games at random from http://instead.syscall.ru/games/
|
||||
games = [
|
||||
(fetchurl {
|
||||
url = http://instead-games.googlecode.com/files/instead-apple-day-1.2.zip;
|
||||
sha256 = "0d4m554hiqmgl4xl0jp0b3bqjl35879768hqznh9y57y04sygd2a";
|
||||
})
|
||||
(fetchurl {
|
||||
url = http://instead-games.googlecode.com/files/instead-cat-1.3.zip;
|
||||
sha256 = "0vmsn7jg2vy5kqqbzad289vk4j3piarj1xpwyz72wgyc3k7djg4v";
|
||||
})
|
||||
(fetchurl {
|
||||
url = http://instead-games.googlecode.com/files/instead-cat_en-1.2.zip;
|
||||
sha256 = "0jlm3ssqlka16dm0rg6qfjh6xdh3pv7lj2s4ib4mqwj2vfy0v6sg";
|
||||
})
|
||||
(fetchurl {
|
||||
url = http://instead-games.googlecode.com/files/instead-vinny-0.1.zip;
|
||||
sha256 = "15qdbg82zp3a8vz4qxminr0xbzbdpnsciliy2wm3raz4hnadawg1";
|
||||
})
|
||||
];
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "instead-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://instead.googlecode.com/files/instead_${version}.tar.gz";
|
||||
sha256 = "178xxqvjl5v1bhjrlf8cqpkw85j25fldf0wn6bgyzicr6fspxb25";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-llua -lgcc_s";
|
||||
|
||||
buildInputs = [ SDL SDL_ttf SDL_image SDL_mixer pkgconfig lua zlib unzip ];
|
||||
|
||||
configurePhase = ''
|
||||
sed -i -e "s,DATAPATH=.,DATAPATH=$out/share/${name}/," Rules.make
|
||||
'';
|
||||
|
||||
inherit games;
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin $out/share/${name}
|
||||
cp sdl-instead $out/bin
|
||||
cp -R games languages stead themes $out/share/${name}
|
||||
pushd $out/share/${name}/games
|
||||
for a in $games; do
|
||||
unzip $a
|
||||
done
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Simple text adventure interpreter for Unix and Windows";
|
||||
homepage = http://instead.syscall.ru/;
|
||||
license = "GPLv2";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
bjg = "Brian Gough <bjg@gnu.org>";
|
||||
eelco = "Eelco Dolstra <e.dolstra@tudelft.nl>";
|
||||
guibert = "David Guibert <david.guibert@gmail.com>";
|
||||
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||
marcweber = "Marc Weber <marco-oweber@gmx.de>";
|
||||
phreedom = "Evgeny Egorochkin <phreedom.stdin@gmail.com>";
|
||||
|
|
|
@ -15,9 +15,11 @@ stdenv.mkDerivation {
|
|||
#'';
|
||||
|
||||
prePatch = ''
|
||||
sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in
|
||||
sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in
|
||||
'';
|
||||
|
||||
# --disable-network-build Until we have snmp
|
||||
|
||||
preConfigure = ''
|
||||
export configureFlags="$configureFlags
|
||||
--with-cupsfilterdir=$out/lib/cups/filter
|
||||
|
@ -25,7 +27,6 @@ stdenv.mkDerivation {
|
|||
--with-icondir=$out/share/applications
|
||||
--with-systraydir=$out/xdg/autostart
|
||||
--with-mimedir=$out/etc/cups
|
||||
# Until we have snmp
|
||||
--disable-network-build"
|
||||
|
||||
export makeFlags="
|
||||
|
@ -39,9 +40,10 @@ stdenv.mkDerivation {
|
|||
buildInputs = [libjpeg cups libusb python saneBackends dbus pkgconfig] ++
|
||||
stdenv.lib.optional qtSupport qt4;
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Print, scan and fax HP drivers for Linux";
|
||||
homepage = http://hplipopensource.com/;
|
||||
license = "free"; # MIT/BSD/GPL
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ stdenv, fetchurl, xlibs, flex, bison, mesa, alsaLib
|
||||
, ncurses, libpng, libjpeg, lcms, freetype, fontconfig, fontforge
|
||||
, libxml2, libxslt, openssl
|
||||
, libxml2, libxslt, openssl, gnutls
|
||||
}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
assert stdenv.gcc.gcc != null;
|
||||
|
||||
let
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
in
|
||||
|
||||
|
@ -18,12 +18,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = s.hash;
|
||||
};
|
||||
|
||||
gecko = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/wine/wine_gecko-1.1.0-x86.cab";
|
||||
sha256 = "0a8bpqqhx146innrdwhn4c0jqi90mkmp8kw6aqwildm073yy31hp";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
xlibs.xlibs flex bison xlibs.libXi mesa
|
||||
xlibs.libXcursor xlibs.libXinerama xlibs.libXrandr
|
||||
xlibs.libXrender xlibs.libXxf86vm xlibs.libXcomposite
|
||||
alsaLib ncurses libpng libjpeg lcms fontforge
|
||||
libxml2 libxslt openssl
|
||||
libxml2 libxslt openssl gnutls
|
||||
];
|
||||
|
||||
# Wine locates a lot of libraries dynamically through dlopen(). Add
|
||||
|
@ -33,13 +38,15 @@ stdenv.mkDerivation rec {
|
|||
freetype fontconfig stdenv.gcc.gcc mesa mesa.libdrm
|
||||
xlibs.libXinerama xlibs.libXrender xlibs.libXrandr
|
||||
xlibs.libXcursor xlibs.libXcomposite
|
||||
openssl
|
||||
openssl gnutls
|
||||
];
|
||||
|
||||
# Don't shrink the ELF RPATHs in order to keep the extra RPATH
|
||||
# elements specified above.
|
||||
dontPatchELF = true;
|
||||
|
||||
postInstall = "install -D ${gecko} $out/share/wine/gecko/wine_gecko-1.1.0-x86.cab";
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.winehq.org/";
|
||||
license = "LGPL";
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
rec {
|
||||
version="1.3.0";
|
||||
name="wine-1.3.0";
|
||||
hash="042mmkq55zgdz7617z7ihqvi9riqv0qc6c7z2f8f6nr5iavfviml";
|
||||
version="1.3.3";
|
||||
name="wine-1.3.3";
|
||||
hash="1kpwcm3zqwxzwm9npipq80yfp7la6429vpg6sf4lvxc1z316wns5";
|
||||
url="http://prdownloads.sourceforge.net/wine/wine-${version}.tar.bz2";
|
||||
advertisedUrl="http://prdownloads.sourceforge.net/wine/wine-1.3.0.tar.bz2";
|
||||
advertisedUrl="http://prdownloads.sourceforge.net/wine/wine-1.3.3.tar.bz2";
|
||||
|
||||
|
||||
}
|
||||
|
|
50
pkgs/misc/emulators/wine/wine-warcraft.nix
Normal file
50
pkgs/misc/emulators/wine/wine-warcraft.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ stdenv, fetchgit, xlibs, flex, bison, mesa, alsaLib
|
||||
, ncurses, libpng, libjpeg, lcms, freetype, fontconfig, fontforge
|
||||
, libxml2, libxslt, openssl, gnutls
|
||||
}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
assert stdenv.gcc.gcc != null;
|
||||
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wine-warcraft-${s.version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://repo.or.cz/wine/warcraft3.git;
|
||||
rev = "38faaffd99331b71284d8da5f76f38625107ed6d";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
xlibs.xlibs flex bison xlibs.libXi mesa
|
||||
xlibs.libXcursor xlibs.libXinerama xlibs.libXrandr
|
||||
xlibs.libXrender xlibs.libXxf86vm xlibs.libXcomposite
|
||||
alsaLib ncurses libpng libjpeg lcms fontforge
|
||||
libxml2 libxslt openssl gnutls
|
||||
];
|
||||
|
||||
# Wine locates a lot of libraries dynamically through dlopen(). Add
|
||||
# them to the RPATH so that the user doesn't have to set them in
|
||||
# LD_LIBRARY_PATH.
|
||||
NIX_LDFLAGS = map (path: "-rpath ${path}/lib ") [
|
||||
freetype fontconfig stdenv.gcc.gcc mesa mesa.libdrm
|
||||
xlibs.libXinerama xlibs.libXrender xlibs.libXrandr
|
||||
xlibs.libXcursor xlibs.libXcomposite
|
||||
openssl gnutls
|
||||
];
|
||||
|
||||
# Don't shrink the ELF RPATHs in order to keep the extra RPATH
|
||||
# elements specified above.
|
||||
dontPatchELF = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.winehq.org/";
|
||||
license = "LGPL";
|
||||
description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
platforms = [ "i686-linux" ];
|
||||
};
|
||||
}
|
|
@ -7,13 +7,13 @@ assert x11Support -> x11 != null;
|
|||
assert cupsSupport -> cups != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ghostscript-8.64.0";
|
||||
name = "ghostscript-8.71.1";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/ghostscript/gnu-${name}.tar.bz2";
|
||||
sha256 = "0b94vlf03saa8vm9drz1kishh527g0brw2cg3jcy9mgpp764x2v1";
|
||||
sha256 = "0vab9905h6sl5s5miai4vhhwdacjlkxqmykfr42x32sr25wjqgvl";
|
||||
};
|
||||
|
||||
fonts = [
|
||||
|
@ -32,19 +32,18 @@ stdenv.mkDerivation rec {
|
|||
++ stdenv.lib.optional x11Support x11
|
||||
++ stdenv.lib.optional cupsSupport cups;
|
||||
|
||||
configureFlags = ''
|
||||
${if x11Support then "--with-x" else "--without-x"}
|
||||
'';
|
||||
configureFlags =
|
||||
if x11Support then [ "--with-x" ] else [ "--without-x" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fpic";
|
||||
CFLAGS = "-fPIC";
|
||||
|
||||
patches = [ ./purity.patch ./mkromfs-zlib.patch ./urw-font-files.patch ];
|
||||
patches = [ ./purity.patch ./urw-font-files.patch ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/ghostscript/;
|
||||
description = "GNU Ghostscript, an PostScript interpreter";
|
||||
description = "GNU Ghostscript, a PostScript interpreter";
|
||||
|
||||
longDescription = ''
|
||||
Ghostscript is the name of a set of tools that provides (i) an
|
||||
|
@ -55,6 +54,9 @@ stdenv.mkDerivation rec {
|
|||
of output drivers for various file formats and printers.
|
||||
'';
|
||||
|
||||
license = "GPLv2";
|
||||
license = "GPLv3+";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
Current makefiles stupidly omit `-lz' when building `mkromfs'.
|
||||
|
||||
--- gnu-ghostscript-8.64.0/base/unix-aux.mak 2008-05-04 16:34:47.000000000 +0200
|
||||
+++ gnu-ghostscript-8.64.0/base/unix-aux.mak 2008-07-17 17:58:20.000000000 +0200
|
||||
@@ -97,7 +97,7 @@ MKROMFS_OBJS= $(MKROMFS_ZLIB_OBJS) $(GLO
|
||||
endif
|
||||
|
||||
$(MKROMFS_XE): $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS)
|
||||
- $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE) $(MKROMFS_OBJS) -lm $(EXTRALIBS)
|
||||
+ $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE) $(MKROMFS_OBJS) -lm $(EXTRALIBS) -lz
|
||||
|
||||
# Query the environment to construct gconfig_.h.
|
||||
# The "else true;" is required because Ultrix's implementation of sh -e
|
|
@ -14,4 +14,8 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
||||
(if (libusb != null) then [libusb] else []);
|
||||
|
||||
meta = {
|
||||
homepage = http://www.sane-project.org/;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -198,11 +198,11 @@ in
|
|||
import ./generic.nix (
|
||||
|
||||
rec {
|
||||
version = "2.6.32.21";
|
||||
version = "2.6.32.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
||||
sha256 = "14hc1ky8ww95qq7c9w9r8yvapx583kbf6fkd6d80kv3rll49xyil";
|
||||
sha256 = "0xhxcdrxd6v21zjwf16m1bc0zrpy1scgxdp7xby2yhg63abh97nr";
|
||||
};
|
||||
|
||||
config = configWithPlatform stdenv.platform;
|
||||
|
|
|
@ -194,11 +194,11 @@ in
|
|||
import ./generic.nix (
|
||||
|
||||
rec {
|
||||
version = "2.6.34.4";
|
||||
version = "2.6.34.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
||||
sha256 = "19flipl10cbn4xf4skjr6v3p8baxv3igzvhxm175lkrg2qphv5nd";
|
||||
sha256 = "0jyw7pl46iffv81qgrjf1cn492mks994klly8fvadc13c6jsb77h";
|
||||
};
|
||||
|
||||
config = configWithPlatform stdenv.platform;
|
||||
|
|
|
@ -190,11 +190,11 @@ in
|
|||
import ./generic.nix (
|
||||
|
||||
rec {
|
||||
version = "2.6.35.3";
|
||||
version = "2.6.35.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
||||
sha256 = "83149a9ab30f8dfe45c63d735018422909cf0dd3f5b5501e42f7349f4044f5f1";
|
||||
sha256 = "1mz0sk7flyr115dcqwqmrzwk845v6pghmlp7j133p8z3jii49c8r";
|
||||
};
|
||||
|
||||
config = configWithPlatform stdenv.platform;
|
||||
|
|
|
@ -37,6 +37,7 @@ rec {
|
|||
|
||||
meta = {
|
||||
description = "SparQL query server (RDF storage)";
|
||||
homepage = http://4store.org/;
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
rec {
|
||||
version="0.11.0";
|
||||
name="couchdb-0.11.0";
|
||||
hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441";
|
||||
url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz";
|
||||
advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";
|
||||
version="1.0.1";
|
||||
name="couchdb-1.0.1";
|
||||
hash="07wb21qi471qbb6nqlmdmmvg4z8f7m9wn2bm22c7fig32gz5njmp";
|
||||
url="mirror://apache/couchdb/1.0.1/apache-couchdb-${version}.tar.gz";
|
||||
advertisedUrl="http://www.apache.org/dist/couchdb/1.0.1/apache-couchdb-1.0.1.tar.gz";
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, readline, pam, openldap, popt, iniparser, libunwind, fam
|
||||
, acl
|
||||
, useKerberos ? false, kerberos ? null
|
||||
, useKerberos ? false, kerberos ? null, winbind ? true
|
||||
|
||||
# Eg. smbclient and smbspool require a smb.conf file.
|
||||
# If you set configDir to "" an empty configuration file
|
||||
|
@ -11,8 +11,11 @@
|
|||
# /etc/samba/smb.conf. That's why nixos touches /etc/samba/smb.conf even if you
|
||||
# don't enable the samba upstart service.
|
||||
, configDir ? "/etc/samba"
|
||||
}:
|
||||
|
||||
}:
|
||||
let
|
||||
usewith = flag: option: if flag then "--with-"+option else "";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "samba-3.3.3";
|
||||
|
||||
|
@ -42,6 +45,7 @@ stdenv.mkDerivation rec {
|
|||
--disable-swat
|
||||
--enable-shared-libs
|
||||
--with-configdir=${configDir}
|
||||
${usewith winbind "winbind"}
|
||||
${if stdenv.gcc.libc != null then "--with-libiconv=${stdenv.gcc.libc}" else ""}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cabextract-1.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cabextract-1.3";
|
||||
src = fetchurl {
|
||||
url = http://www.cabextract.org.uk/cabextract-1.2.tar.gz;
|
||||
sha256 = "1sr5f7qicj5q2h5m4wbmfcaaqxg5zkl5vkxlhyc11spwfh58d75f";
|
||||
url = meta.homepage + name + ".tar.gz";
|
||||
sha256 = "00f0qcrz9f2gwvm98qglbrjpwrzwrfdgh0hck6im93dl6lx3hr6l";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.cabextract.org.uk/;
|
||||
description = "Free Software for extracting Microsoft cabinet files";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
30
pkgs/tools/bluetooth/kbluetooth/default.nix
Normal file
30
pkgs/tools/bluetooth/kbluetooth/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, kdelibs, cmake, qt4, automoc4, phonon, kdebase_workspace, soprano, gettext
|
||||
, semanticDesktop ? true }:
|
||||
with stdenv;
|
||||
mkDerivation rec {
|
||||
name = "kbluetooth-${version}";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://kde-apps.org/CONTENT/content-files/112110-${name}.tar.bz2";
|
||||
sha256 = "0z5clp677g1vgh3dd09ilq1r481y342q2cx5pzjj51y1d9lb5zp5";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake qt4 kdelibs automoc4 phonon kdebase_workspace soprano gettext]
|
||||
++ lib.optional semanticDesktop soprano;
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace src/CMakeLists.txt --replace "DESTINATION \''${KDE4_BIN_INSTALL_DIR}" "DESTINATION bin"
|
||||
substituteInPlace src/inputwizard/CMakeLists.txt --replace "DESTINATION \''${KDE4_BIN_INSTALL_DIR}" "DESTINATION bin"
|
||||
substituteInPlace src/device-manager/CMakeLists.txt --replace "DESTINATION \''${KDE4_BIN_INSTALL_DIR}" "DESTINATION bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bluetooth manager for KDE";
|
||||
license = "GPLv2";
|
||||
inherit (kdelibs.meta) platforms;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
};
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
{stdenv, fetchurl, zlib}:
|
||||
{stdenv, fetchurl, zlib, attr}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "squashfs-4.0";
|
||||
name = "squashfs-4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/squashfs/squashfs4.0.tar.gz;
|
||||
sha256 = "089fw543fx2d3dadszjv5swf8hr6jvxrpagf0x1jrb3bw3dqx50q";
|
||||
url = mirror://sourceforge/squashfs/squashfs4.1.tar.gz;
|
||||
sha256 = "0sh40r7gz81fg7ivgr7rld8spvqb6hsfvnf6gd3gbcr5b830v1rs";
|
||||
};
|
||||
|
||||
buildInputs = [zlib];
|
||||
buildInputs = [zlib attr];
|
||||
|
||||
preBuild = ''
|
||||
cd squashfs-tools
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{stdenv, fetchurl, libjpeg, lcms, gettext }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dcraw-8.99";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dcraw-9.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.99.tar.gz;
|
||||
sha256 = "0w557lsrj8fs666cxzhhv1rigmy705bnkn94rn856dwck59l3ipq";
|
||||
url = "http://www.cybercom.net/~dcoffin/dcraw/archive/${name}.tar.gz";
|
||||
sha256 = "1i9w35pldyzp5xjjcy20rps7p9wkxs6vj4wz43vhfyda93nij4y0";
|
||||
};
|
||||
|
||||
buildInputs = [ libjpeg lcms gettext ];
|
||||
|
@ -25,5 +25,7 @@ stdenv.mkDerivation {
|
|||
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
|
||||
description = "Decoder for many camera raw picture formats";
|
||||
license = "free";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
, readline
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnuplot-4.4.0";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnuplot-4.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gnuplot/gnuplot-4.4.0.tar.gz";
|
||||
sha256 = "0akb2lzxa3b0j4nr6anr0mhsk10b1fcnixk8vk9aa82rl1a2rph0";
|
||||
url = "mirror://sourceforge/gnuplot/${name}.tar.gz";
|
||||
sha256 = "1r799l6ww9w21qnklqfn335jkfc6y0ilhv3sv4x4mf4ghgacis1p";
|
||||
};
|
||||
|
||||
configureFlags = if libX11 != null then ["--with-x"] else ["--without-x"];
|
||||
|
@ -27,4 +27,10 @@ stdenv.mkDerivation {
|
|||
[ zlib gd texinfo readline emacs lua texLive libX11 libXt libXpm libXaw
|
||||
wxGTK pango cairo pkgconfig
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnuplot.info;
|
||||
description = "A portable command-line driven graphing utility for many platforms";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,4 +12,9 @@ stdenv.mkDerivation {
|
|||
configureFlags = "--with-readline";
|
||||
|
||||
buildInputs = [flex readline];
|
||||
|
||||
meta = {
|
||||
description = "GNU software calculator";
|
||||
homepage = http://www.gnu.org/software/bc/;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,9 @@ let
|
|||
glib pkgconfig
|
||||
];
|
||||
in
|
||||
|
||||
assert a.stdenv ? glibc;
|
||||
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
|
@ -26,12 +29,12 @@ rec {
|
|||
export CFLAGS="-ggdb -O0 -include ${a.stdenv.glibc}/include/locale.h"
|
||||
export CXXFLAGS="-ggdb -O0"
|
||||
|
||||
patch -p 1 < ${/tmp/patch}
|
||||
'' [ "minInit" "doUnpack" ];
|
||||
|
||||
inherit(s) name;
|
||||
meta = {
|
||||
description = "Cellphone tool";
|
||||
homepage = http://www.gnokii.org;
|
||||
maintainers = [a.lib.maintainers.raskin];
|
||||
platforms = with a.lib.platforms; linux;
|
||||
};
|
||||
|
|
25
pkgs/tools/misc/mdbtools/git.nix
Normal file
25
pkgs/tools/misc/mdbtools/git.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig,
|
||||
libiconv, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mdbtools-git";
|
||||
|
||||
src = fetchgit {
|
||||
url = "http://github.com/brianb/mdbtools.git";
|
||||
rev = "5ac44b69d9375cca3e1055b70fd22abf7fbf17ab";
|
||||
sha256 = "094e6b480c6fda3a000d0d8539b209d2d7c204a440660a21c11f2e1c9b3aa345";
|
||||
};
|
||||
|
||||
buildInputs = [glib readline bison flex pkgconfig libiconv autoconf automake
|
||||
libtool];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -liconv"
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ".mdb (MS Access) format tools";
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue