Merging from trunk. I resolved two conflicts: - cmake (trunk fixes + stdenv-updates cross-compiling) - all-packages (trunk gcc-wrapper2 + stdenv-updates gcc44)


svn path=/nixpkgs/branches/stdenv-updates/; revision=18912

+1312 -827
+42
pkgs/applications/editors/emacs-modes/proofgeneral/default.nix
··· 1 + { stdenv, fetchurl, emacs, perl }: 2 + 3 + let 4 + pname = "ProofGeneral"; 5 + version = "3.7.1.1"; 6 + name = "${pname}-${version}"; 7 + website = "http://proofgeneral.inf.ed.ac.uk"; 8 + in 9 + 10 + stdenv.mkDerivation { 11 + inherit name; 12 + 13 + src = fetchurl { 14 + url = "http://www.cl.cam.ac.uk/research/hvg/Isabelle/dist/contrib/${name}.tar.gz"; 15 + sha256 = "ae430590d6763618df50a662a37f0627d3c3c8f31372f6f0bb2116b738fc92d8"; 16 + }; 17 + 18 + buildInputs = [ emacs perl ]; 19 + 20 + sourceRoot = name; 21 + 22 + postPatch = "EMACS=emacs make clean"; 23 + 24 + # Skip building ... 25 + buildPhase = "true"; 26 + 27 + installPhase = '' 28 + DEST=$out/share/emacs/site-lisp/ProofGeneral 29 + ensureDir $DEST 30 + cp -a * $DEST 31 + ''; 32 + 33 + meta = { 34 + description = "A generic front-end for proof assistants"; 35 + longDescription = '' 36 + Proof General is a generic front-end for proof assistants (also known as 37 + interactive theorem provers), based on the customizable text editor Emacs. 38 + ''; 39 + homepage = website; 40 + license = "GPL"; 41 + }; 42 + }
-21
pkgs/applications/graphics/autopanosiftc/default.nix
··· 10 10 11 11 buildInputs = [ cmake libpng libtiff libjpeg panotools libxml2 ]; 12 12 13 - # I added these flags to get all the rpaths right, which I guess they are 14 - # taken from the qt4 sources. Not very nice. 15 - cmakeFlags = "-DCMAKE_SHARED_LINKER_FLAGS=\"-Wl,-rpath,$out/lib\"" + 16 - " -DCMAKE_EXE_LINKER_FLAGS=\"-Wl,-rpath,$out/lib" + 17 - " -lpng12 -lpano13 -ljpeg -ltiff -lz -lxml2 \"" + 18 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 19 - " -DCMAKE_BUILD_TYPE=Release" + 20 - " -DCMAKE_INSTALL_PREFIX=$out"; 21 - 22 - dontUseCmakeConfigure = true; 23 - 24 - # I rewrote the configure phase to get the $out references evaluated in 25 - # cmakeFlags 26 - configurePhase = '' 27 - set -x 28 - mkdir -p build; 29 - cd build 30 - eval -- "cmake .. $cmakeFlags" 31 - set +x 32 - ''; 33 - 34 13 meta = { 35 14 homepage = http://hugin.sourceforge.net/; 36 15 description = "Implementation in C of the autopano-sift algorithm for automatically stitching panoramas";
-20
pkgs/applications/graphics/freepv/default.nix
··· 17 17 sed -i -e '/mozilla/d' src/CMakeLists.txt 18 18 ''; 19 19 20 - # I added these flags to get all the rpaths right, which I guess they are 21 - # taken from the qt4 sources. Not very nice. 22 - cmakeFlags = " -DCMAKE_EXE_LINKER_FLAGS=\"" + 23 - " -lpng12 -lXxf86vm -ljpeg -lz -lglut -lGLU -lxml2 -lX11\"" + 24 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 25 - " -DCMAKE_BUILD_TYPE=Release" + 26 - " -DCMAKE_INSTALL_PREFIX=$out"; 27 - 28 - dontUseCmakeConfigure = true; 29 - 30 - # I rewrote the configure phase to get the $out references evaluated in 31 - # cmakeFlags 32 - configurePhase = '' 33 - set -x 34 - mkdir -p build; 35 - cd build 36 - eval -- "cmake .. $cmakeFlags" 37 - set +x 38 - ''; 39 - 40 20 meta = { 41 21 description = "Open source panorama viewer using GL"; 42 22 homepage = http://freepv.sourceforge.net/;
+2 -22
pkgs/applications/graphics/hugin/default.nix
··· 15 15 16 16 NIX_LDFLAGS = "-lrt"; 17 17 18 - # I added these flags to get all the rpaths right, which I guess they are 19 - # taken from the qt4 sources. Not very nice. 20 - cmakeFlags = "-DCMAKE_SHARED_LINKER_FLAGS=\"-Wl,-rpath,$out/lib\"" + 21 - " -DCMAKE_EXE_LINKER_FLAGS=\"-Wl,-rpath,$out/lib" + 22 - " -lpng12 -lpano13 -lImath -lIlmImf -lIex -lHalf -lIlmThread" + 23 - " -ljpeg -ltiff -lz -lexiv2 -lboost_thread\"" + 24 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 25 - " -DCMAKE_BUILD_TYPE=Release" + 26 - " -DCMAKE_INSTALL_PREFIX=$out"; 27 - 28 - buildInputs = [ cmake panotools wxGTK libtiff libpng openexr boost pkgconfig exiv2 gettext ilmbase ]; 29 - 30 - dontUseCmakeConfigure = true; 18 + buildInputs = [ cmake panotools wxGTK libtiff libpng openexr boost pkgconfig 19 + exiv2 gettext ilmbase ]; 31 20 32 - # I rewrote the configure phase to get the $out references evaluated in 33 - # cmakeFlags 34 - configurePhase = '' 35 - set -x 36 - mkdir -p build; 37 - cd build 38 - eval -- "cmake .. $cmakeFlags" 39 - set +x 40 - ''; 41 21 postInstall = '' 42 22 ensureDir "$out/nix-support" 43 23 echo "${enblendenfuse} ${autopanosiftc}" > $out/nix-support/propagated-user-env-packages
+6 -26
pkgs/applications/graphics/paraview/default.nix
··· 1 1 { fetchurl, stdenv, cmake, qt4 }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "paraview-3.4.0"; 4 + name = "paraview-3.6.1"; 5 5 src = fetchurl { 6 - url = http://www.paraview.org/files/v3.4/paraview-3.4.0.tar.gz; 7 - sha256 = "27544f442e957e9aa60b32c674f2dcd84fffeecc9a40071ef6e305333413187d"; 6 + url = http://www.paraview.org/files/v3.6/paraview-3.6.1.tar.gz; 7 + sha256 = "1dh0dqbdvjagy122nbwr1gg03ck2if2aqqbvzcpkx38sz12cjh7h"; 8 8 }; 9 9 10 - patches = [ ./include-qobject.patch ]; 11 - 12 - # I added these flags to get all the rpaths right, which I guess they are 13 - # taken from the qt4 sources. Not very nice. 14 - cmakeFlags = "-DCMAKE_SHARED_LINKER_FLAGS=\"-Wl,-rpath,$out/lib/paraview-3.4\"" + 15 - " -DCMAKE_EXE_LINKER_FLAGS=\"-Wl,-rpath,$out/lib/paraview-3.4" + 16 - " -lpng12 -lSM -lICE -lXrender -lXrandr -lXcursor -lXinerama" + 17 - " -lXfixes -lfreetype -lfontconfig -lXext -lX11 -lssl -lXt -lz\"" + 18 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 19 - " -DCMAKE_BUILD_TYPE=Release" + 20 - " -DCMAKE_INSTALL_PREFIX=$out"; 21 - 22 - dontUseCmakeConfigure = true; 23 - 24 - # I rewrote the configure phase to get the $out references evaluated in 25 - # cmakeFlags 26 - configurePhase = '' 27 - set -x 28 - mkdir -p build; 29 - cd build 30 - eval -- "cmake .. $cmakeFlags" 31 - set +x 32 - ''; 10 + preConfigure = '' 11 + export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.6" 12 + ''; 33 13 34 14 buildInputs = [ cmake qt4 ]; 35 15
-38
pkgs/applications/graphics/paraview/include-qobject.patch
··· 1 - diff --git a/VTK/GUISupport/Qt/CMakeLists.txt b/VTK/GUISupport/Qt/CMakeLists.txt 2 - index 2c35be7..866f1aa 100644 3 - --- a/VTK/GUISupport/Qt/CMakeLists.txt 4 - +++ b/VTK/GUISupport/Qt/CMakeLists.txt 5 - @@ -166,6 +166,7 @@ IF(DESIRED_QT_VERSION MATCHES 4) 6 - ) 7 - ENDIF(QT_QTGUI_LIBRARY) 8 - INCLUDE_DIRECTORIES(${QT_QTDESIGNER_INCLUDE_DIR}) 9 - + INCLUDE_DIRECTORIES(${QT_QTCORE_INCLUDE_DIR}) 10 - QT4_WRAP_CPP ( PluginMocSrcs ${PluginMocHeaders} ) 11 - ELSE(DESIRED_QT_VERSION MATCHES 4) 12 - QT_WRAP_CPP ( QVTKWidgetPlugin PluginMocSrcs ${PluginMocHeaders} ) 13 - diff --git a/VTK/GUISupport/Qt/vtkEventQtSlotConnect.h b/VTK/GUISupport/Qt/vtkEventQtSlotConnect.h 14 - index 6782b90..ced3a67 100644 15 - --- a/VTK/GUISupport/Qt/vtkEventQtSlotConnect.h 16 - +++ b/VTK/GUISupport/Qt/vtkEventQtSlotConnect.h 17 - @@ -43,7 +43,7 @@ 18 - #include "vtkObject.h" 19 - #include "vtkCommand.h" // for event defines 20 - #include "QVTKWin32Header.h" // for export define 21 - -#include "qobject.h" // for version info 22 - +#include <qobject.h> // for version info 23 - 24 - class QObject; 25 - class vtkQtConnections; 26 - diff --git a/VTK/GUISupport/Qt/vtkQtConnection.h b/VTK/GUISupport/Qt/vtkQtConnection.h 27 - index 923ec2e..b189ddc 100644 28 - --- a/VTK/GUISupport/Qt/vtkQtConnection.h 29 - +++ b/VTK/GUISupport/Qt/vtkQtConnection.h 30 - @@ -33,7 +33,7 @@ 31 - 32 - #include "vtkObject.h" 33 - #include "vtkCommand.h" // for event defines 34 - -#include "qobject.h" 35 - +#include <qobject.h> 36 - 37 - class QObject; 38 - class vtkCallbackCommand;
+4 -1
pkgs/applications/misc/synergy/default.nix
··· 2 2 stdenv.mkDerivation { 3 3 name = "synergy-cvs"; 4 4 5 - src = bleedingEdgeRepos.sourceByName "synergy"; 5 + # REGION AUTO UPDATE: { name="synergy"; type = "cvs"; cvsRoot = ":pserver:anonymous@synergy2.cvs.sourceforge.net:/cvsroot/synergy2"; module="syngery"; } 6 + src = sourceFromHead "synergy-F_09-55-29.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/synergy-F_09-55-28.tar.gz"; sha256 = "443bb8cf8d4e365b2adaadd8770096fcafa0c54532e83f6a267eb3b05042b84c"; }); 8 + # END 6 9 /* 7 10 fetchcvs { 8 11 cvsRoot = ":pserver:anonymous@synergy2.cvs.sourceforge.net:/cvsroot/synergy2";
+10 -11
pkgs/applications/networking/browsers/netsurf/default.nix
··· 8 8 }; 9 9 10 10 libCSS = import ./libCSS.nix { 11 - inherit fetchurl stdenv lib pkgconfig libParserUtils libwapcaplet; 12 - inherit (bleedingEdgeRepos) sourceByName; 11 + inherit fetchurl sourceFromHead stdenv lib pkgconfig libParserUtils 12 + libwapcaplet; 13 13 }; 14 14 15 15 libnsbmp = import ./libnsbmp.nix { ··· 21 21 }; 22 22 23 23 libwapcaplet = import ./libwapcaplet.nix { 24 - inherit fetchurl stdenv lib; 25 - inherit (bleedingEdgeRepos) sourceByName; 24 + inherit fetchurl sourceFromHead stdenv lib; 26 25 }; 27 26 28 27 libsvgtiny = import ./libsvgtiny.nix { 29 - inherit fetchurl stdenv lib pkgconfig gperf libxml2; 30 - inherit (bleedingEdgeRepos) sourceByName; 28 + inherit fetchurl sourceFromHead stdenv lib pkgconfig gperf libxml2; 31 29 }; 32 30 33 31 hubub = stdenv.mkDerivation { ··· 55 53 libdom = stdenv.mkDerivation { 56 54 name = "libdom-devel"; 57 55 58 - src = bleedingEdgeRepos.sourceByName "libdom"; 56 + # REGION AUTO UPDATE: { name="libdom"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/dom"; groups = "netsurf_group"; } 57 + src= sourceFromHead "libdom-9721.tar.gz" 58 + (fetchurl { url = "http://mawercer.de/~nix/repos/libdom-9721.tar.gz"; sha256 = "ca4b94a8dd32036787331a14133c36a49daded40bdb4c04edc3eab99e2193abc"; }); 59 + # END 59 60 installPhase = "make PREFIX=$out install"; 60 61 buildInputs = [pkgconfig]; 61 62 ··· 70 71 */ 71 72 72 73 netsurfHaru = import ./haru.nix { 73 - inherit fetchurl stdenv lib zlib libpng; 74 - inherit (bleedingEdgeRepos) sourceByName; 74 + inherit fetchurl sourceFromHead stdenv lib zlib libpng; 75 75 }; 76 76 77 77 browser = import ./netsurf.nix { 78 - inherit fetchurl stdenv lib pkgconfig 78 + inherit fetchurl sourceFromHead stdenv lib pkgconfig 79 79 libnsbmp libnsgif libsvgtiny libwapcaplet hubub libParserUtils 80 80 libpng libxml2 libCSS lcms curl libmng; 81 81 libharu = netsurfHaru; 82 82 inherit (gnome) glib gtk libglade; 83 - inherit (bleedingEdgeRepos) sourceByName; 84 83 }; 85 84 86 85
+4 -1
pkgs/applications/networking/browsers/netsurf/haru.nix
··· 3 3 4 4 name = "netsurf-haru-trunk"; 5 5 6 - src = sourceByName "netsurf_haru"; 6 + # REGION AUTO UPDATE: { name="netsurf_haru"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libharu"; groups = "netsurf_group"; } 7 + src= sourceFromHead "netsurf_haru-9721.tar.gz" 8 + (fetchurl { url = "http://mawercer.de/~nix/repos/netsurf_haru-9721.tar.gz"; sha256 = "8113492823e1069f428ef8970c2c7a09b4c36c645480ce81f8351331ce097656"; }); 9 + # END 7 10 8 11 preConfigure = "cd upstream"; 9 12 configureFlags = "--with-zlib=${zlib} --with-png=${libpng}";
+4 -1
pkgs/applications/networking/browsers/netsurf/libCSS.nix
··· 2 2 stdenv.mkDerivation { 3 3 name = "libCSS-devel"; 4 4 5 - src = sourceByName "libCSS"; 5 + # REGION AUTO UPDATE: { name="libCSS"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libcss"; groups = "netsurf_group"; } 6 + src= sourceFromHead "libCSS-9721.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/libCSS-9721.tar.gz"; sha256 = "47b44653f7b53c21da6224ffb1f81df934cc711d6a5795c5584755a8bd48e5ac"; }); 8 + # END 6 9 7 10 installPhase = "make PREFIX=$out install"; 8 11 buildInputs = [pkgconfig libParserUtils libwapcaplet];
+4 -1
pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
··· 2 2 stdenv.mkDerivation { 3 3 name = "libsvgtiny-devel"; 4 4 5 - src = sourceByName "libsvgtiny"; 5 + # REGION AUTO UPDATE: { name="libsvgtiny"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libsvgtiny"; groups = "netsurf_group"; } 6 + src= sourceFromHead "libsvgtiny-9721.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/libsvgtiny-9721.tar.gz"; sha256 = "0c4c8e357c220218a32ef789eb2ba8226a403d4c2b550d7c65f351a0af5d1a71"; }); 8 + # END 6 9 7 10 installPhase = "make PREFIX=$out install"; 8 11 buildInputs = [pkgconfig gperf libxml2];
+4 -1
pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
··· 2 2 stdenv.mkDerivation { 3 3 name = "libwapcaplet-devel"; 4 4 5 - src = sourceByName "libwapcaplet"; 5 + # REGION AUTO UPDATE: { name="libwapcaplet"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libwapcaplet"; groups = "netsurf_group"; } 6 + src= sourceFromHead "libwapcaplet-9721.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/libwapcaplet-9721.tar.gz"; sha256 = "7f9f32ca772c939d67f3bc8bf0705544c2b2950760da3fe6a4e069ad0f77d91a"; }); 8 + # END 6 9 7 10 installPhase = "make PREFIX=$out install"; 8 11 buildInputs = [];
+4 -1
pkgs/applications/networking/browsers/netsurf/netsurf.nix
··· 2 2 stdenv.mkDerivation { 3 3 4 4 name = "netsurf-devel"; 5 - src = sourceByName "netsurf"; 5 + # REGION AUTO UPDATE: { name="netsurf"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/netsurf"; groups = "netsurf_group"; } 6 + src= sourceFromHead "netsurf-9721.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/netsurf-9721.tar.gz"; sha256 = "4705f059596fbd95b1a80d9a6c5d08daf051fd0e5e868ccd40b30af8a45e8f56"; }); 8 + # END 6 9 7 10 # name = "netsurf-2.1"; 8 11 /*
+62
pkgs/applications/science/logic/isabelle/default.nix
··· 1 + { stdenv, fetchurl, perl, nettools, polyml, emacs, emacsPackages }: 2 + # nettools needed for hostname 3 + 4 + let 5 + pname = "Isabelle"; 6 + version = "2009-1"; 7 + name = "${pname}${version}"; 8 + theories = ["HOL" "FOL" "ZF"]; 9 + proofgeneral = (emacsPackages emacs).proofgeneral; 10 + in 11 + 12 + stdenv.mkDerivation { 13 + inherit name theories; 14 + 15 + src = fetchurl { 16 + url = "http://www.cl.cam.ac.uk/research/hvg/${pname}/dist/${name}.tar.gz"; 17 + sha256 = "43ad7794e8b4214b3ace49fc136a69ed6cc65ead02831ae6071f846ecbe56f68"; 18 + }; 19 + 20 + buildInputs = [ perl polyml nettools ]; 21 + 22 + sourceRoot = name; 23 + 24 + patches = [ ./settings.patch ]; 25 + 26 + postPatch = '' 27 + ENV=$(type -p env) 28 + patchShebangs "." 29 + substituteInPlace lib/Tools/env \ 30 + --replace /usr/bin/env $ENV 31 + substituteInPlace lib/Tools/install \ 32 + --replace /usr/bin/env $ENV 33 + substituteInPlace src/Pure/IsaMakefile \ 34 + --replace /bin/bash /bin/sh 35 + substituteInPlace etc/settings \ 36 + --subst-var-by ML_HOME "${polyml}/bin" \ 37 + --subst-var-by PROOFGENERAL_HOME "${proofgeneral}/share/emacs/site-lisp/ProofGeneral" 38 + ''; 39 + 40 + buildPhase = '' 41 + ./build $theories 42 + ''; 43 + 44 + installPhase = '' 45 + ensureDir $out/bin 46 + mv $TMP/$name $out 47 + cd $out/$name 48 + bin/isabelle install -p $out/bin 49 + ''; 50 + 51 + meta = { 52 + description = "A generic proof assistant"; 53 + 54 + longDescription = '' 55 + Isabelle is a generic proof assistant. It allows mathematical formulas 56 + to be expressed in a formal language and provides tools for proving those 57 + formulas in a logical calculus. 58 + ''; 59 + homepage = http://isabelle.in.tum.de/; 60 + license = "LGPL"; 61 + }; 62 + }
+35
pkgs/applications/science/logic/isabelle/settings.patch
··· 1 + diff -Naur Isabelle2009-1/etc/settings Isabelle2009-1-patched/etc/settings 2 + --- Isabelle2009-1/etc/settings 2009-12-02 12:04:07.000000000 +0100 3 + +++ Isabelle2009-1-patched/etc/settings 2009-12-04 16:15:40.000000000 +0100 4 + @@ -16,15 +16,8 @@ 5 + # Only one of the sections below should be activated. 6 + 7 + # Poly/ML 5.x (automated settings) 8 + -POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")" 9 + ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform") 10 + -ML_HOME=$(choosefrom \ 11 + - "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ 12 + - "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ 13 + - "/usr/local/polyml/$ML_PLATFORM" \ 14 + - "/usr/share/polyml/$ML_PLATFORM" \ 15 + - "/opt/polyml/$ML_PLATFORM" \ 16 + - $POLY_HOME) 17 + +ML_HOME=@ML_HOME@ 18 + ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version") 19 + ML_OPTIONS="-H 200" 20 + ML_SOURCES="$ML_HOME/../src" 21 + @@ -185,13 +178,7 @@ 22 + ### 23 + 24 + # Proof General home, look in a variety of places 25 + -PROOFGENERAL_HOME=$(choosefrom \ 26 + - "$ISABELLE_HOME/contrib/ProofGeneral" \ 27 + - "$ISABELLE_HOME/../ProofGeneral" \ 28 + - "/usr/local/ProofGeneral" \ 29 + - "/usr/share/ProofGeneral" \ 30 + - "/opt/ProofGeneral" \ 31 + - "") 32 + +PROOFGENERAL_HOME=@PROOFGENERAL_HOME@ 33 + 34 + PROOFGENERAL_OPTIONS="" 35 + #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
+8 -8
pkgs/applications/version-management/git-and-tools/default.nix
··· 4 4 args: with args; with pkgs; 5 5 let 6 6 inherit (pkgs) stdenv fetchurl getConfig subversion; 7 - inherit (pkgs.bleedingEdgeRepos) sourceByName; 8 7 in 9 8 rec { 10 9 ··· 19 18 }; 20 19 21 20 gitGit = import ./git/git-git.nix { 22 - inherit fetchurl stdenv curl openssl zlib expat perl gettext 21 + inherit fetchurl sourceFromHead stdenv curl openssl zlib expat perl gettext 23 22 asciidoc texinfo xmlto docbook2x 24 23 docbook_xsl docbook_xml_dtd_45 libxslt 25 24 cpio tcl tk makeWrapper subversion autoconf; 26 - inherit (bleedingEdgeRepos) sourceByName; 27 25 svnSupport = getConfig ["git" "svnSupport"] false; # for git-svn support 28 26 guiSupport = getConfig ["git" "guiSupport"] false; 29 27 perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion]; ··· 36 34 }; 37 35 38 36 qgitGit = import ./qgit/qgit-git.nix { 39 - inherit fetchurl stdenv; 37 + inherit fetchurl sourceFromHead stdenv; 40 38 inherit (xlibs) libXext libX11; 41 - inherit (bleedingEdgeRepos) sourceByName; 42 39 qt = qt4; 43 40 }; 44 41 ··· 49 46 50 47 topGit = stdenv.mkDerivation { 51 48 name = "TopGit-git"; # official release 0.8 52 - src = sourceByName "topGit"; # destination directory is patched 49 + # REGION AUTO UPDATE: { name = "topGit"; type="git"; url="http://repo.or.cz/w/topgit.git"; } 50 + src = sourceFromHead "topGit-f59e4f9e87e5f485fdaee0af002edd2105fa298a.tar.gz" 51 + (fetchurl { url = "http://mawercer.de/~nix/repos/topGit-f59e4f9e87e5f485fdaee0af002edd2105fa298a.tar.gz"; sha256 = "12aa6d34c82d505066b851e24069fe9d6930d70913b7d94a0cc6e8f06f127170"; }); 52 + # END 53 53 phases="unpackPhase patchPhase installPhase"; 54 54 installPhase = '' 55 55 mkdir -p $out/etc/bash_completion.d ··· 84 84 }; 85 85 86 86 gitFastExport = import ./fast-export { 87 - inherit fetchurl stdenv mercurial coreutils git makeWrapper subversion; 88 - inherit (bleedingEdgeRepos) sourceByName; 87 + inherit fetchurl sourceFromHead stdenv mercurial coreutils git makeWrapper 88 + subversion; 89 89 }; 90 90 91 91 }
+4 -1
pkgs/applications/version-management/git-and-tools/fast-export/default.nix
··· 2 2 stdenv.mkDerivation { 3 3 name = "fast-export"; 4 4 5 - src = sourceByName "git_fast_export"; 5 + # REGION AUTO UPDATE: { name="git_fast_export"; type = "git"; url="git://repo.or.cz/hg2git.git"; } 6 + src = sourceFromHead "git_fast_export-1464dabbff7fe42b9069e98869db40276d295ad6.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/git_fast_export-1464dabbff7fe42b9069e98869db40276d295ad6.tar.gz"; sha256 = "0808bafddce07c8f3dc2116f2c33e56f5589927630e0b72219e64d8a6c8c0023"; }); 8 + # END 6 9 7 10 buildInputs =([mercurial.python mercurial makeWrapper subversion]); 8 11
+5 -2
pkgs/applications/version-management/git-and-tools/git/git-git.nix
··· 3 3 , libxslt, tcl, tk, makeWrapper 4 4 , svnSupport, subversion, perlLibs 5 5 , guiSupport 6 - , sourceByName 6 + , sourceFromHead 7 7 , autoconf 8 8 }: 9 9 ··· 18 18 # contact marco-oweber@gmx.de if you want to know more details 19 19 name = "git-git-with-glob-patch"; 20 20 21 - src = sourceByName "git"; 21 + # REGION AUTO UPDATE: { name="git"; type="git"; url="git://git.kernel.org/pub/scm/git/git.git"; } 22 + src = sourceFromHead "git-8b43d378dff4d490165dbac05a0bf5da2011bfa5.tar.gz" 23 + (fetchurl { url = "http://mawercer.de/~nix/repos/git-8b43d378dff4d490165dbac05a0bf5da2011bfa5.tar.gz"; sha256 = "a910bbac05c6e349a0bcfd9a27f7045916e5d07dc4acb4baf6d92475c30e28dc"; }); 24 + # END 22 25 23 26 patchePhase = '' 24 27 patch -p1 < ${./docbook2texi-2.patch}
+5 -2
pkgs/applications/version-management/git-and-tools/qgit/qgit-git.nix
··· 1 - {stdenv, fetchurl, qt, libXext, libX11, sourceByName}: 1 + {stdenv, fetchurl, qt, libXext, libX11, sourceFromHead}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qgit-git"; ··· 8 8 homepage = "http://digilander.libero.it/mcostalba/"; 9 9 description = "Graphical front-end to Git"; 10 10 }; 11 - src = sourceByName "qgit"; 11 + # REGION AUTO UPDATE: { name="qgit"; type="git"; url="git://git.kernel.org/pub/scm/qgit/qgit4.git"; } 12 + src = sourceFromHead "qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz" 13 + (fetchurl { url = "http://mawercer.de/~nix/repos/qgit-a0252ed2a6a72b50e65d027adce8afa22e874277.tar.gz"; sha256 = "17e4727ac68b4f2e8503289d5b6a2c042547e7be133e7f8195b79e33eab61b93"; }); 14 + # END 12 15 buildInputs = [qt libXext libX11]; 13 16 buildPhase = '' 14 17 qmake PREFIX=$out
+5 -2
pkgs/applications/video/MPlayer/trunk.nix
··· 6 6 , libXinerama ? null, libXrandr ? null, libdvdnav ? null, jackaudio ? null 7 7 , cdparanoia ? null, cddaSupport ? true, jackaudioSupport ? true 8 8 , mesa, pkgconfig 9 - , sourceByName 9 + , sourceFromHead 10 10 }: 11 11 12 12 assert alsaSupport -> alsa != null; ··· 35 35 36 36 name = "mplayer-trunk"; 37 37 38 - src = sourceByName "MPlayer"; 38 + # REGION AUTO UPDATE: { name="MPlayer"; type = "svn"; url="svn://svn.mplayerhq.hu/mplayer/trunk"; } 39 + src= sourceFromHead "MPlayer-29990.tar.gz" 40 + (fetchurl { url = "http://mawercer.de/~nix/repos/MPlayer-29990.tar.gz"; sha256 = "8d9ac59e7cc3e2bc9ca46281ac2c268d460e041aceac056b600205c8c5235169"; }); 41 + # END 39 42 40 43 buildInputs = 41 44 [x11 libXv freetype zlib mesa pkgconfig]
+2 -4
pkgs/applications/video/avidemux/default.nix
··· 18 18 19 19 cmakeFlags = "-DPTHREAD_INCLUDE_DIR=${stdenv.glibc}/include" + 20 20 " -DGETTEXT_INCLUDE_DIR=${gettext}/include" + 21 - " -DSDL_INCLUDE_DIR=${SDL}/include/SDL" + 22 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 23 - " -DCMAKE_BUILD_TYPE=Release"; 21 + " -DSDL_INCLUDE_DIR=${SDL}/include/SDL"; 24 22 25 - NIX_LDFLAGS="-lxml2 -lXv -lSDL -lQtGui -lQtCore -lpthread"; 23 + NIX_LDFLAGS="-lpthread"; 26 24 27 25 postInstall = '' 28 26 cd $NIX_BUILD_TOP/$sourceRoot
+11 -3
pkgs/applications/video/cinelerra/default.nix
··· 1 1 args: 2 + with args; 2 3 args.stdenv.mkDerivation { 3 4 name = "cinelerra-git"; 4 5 5 - src = args.sourceByName "cinelerra"; 6 + # REGION AUTO UPDATE: { name="cinelerra"; type="git"; url="git://git.cinelerra.org/j6t/cinelerra.git"; } 7 + src= sourceFromHead "cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz" 8 + (fetchurl { url = "http://mawercer.de/~nix/repos/cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"; sha256 = "0b264e2a770d2257550c9a23883a060afcaff12293fe43828954e7373f5f4fb4"; }); 9 + # END 6 10 7 11 perl = args.perl; 8 12 13 + # touch confi.rpath: work around bug in automake 1.10 ? 9 14 preConfigure = '' 10 15 find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@$perl/bin/perl@" -i 16 + touch config.rpath 11 17 ./autogen.sh 12 18 ''; 13 19 configureOptions = ["--enable-freetype2"]; 14 20 15 21 buildInputs =(with args; [ 16 - automake autoconf libtool pkgconfig 22 + automake 23 + autoconf libtool pkgconfig 17 24 faad2 faac 18 25 a52dec alsaLib fftw lame libavc1394 libiec61883 19 26 libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype 20 27 mjpegtools x264 gettext openexr esound 21 28 # 22 - libXxf86vm libXv 29 + libXxf86vm libXv libXi libX11 xextproto 23 30 libtheora libpng libdv 24 31 nasm 25 32 perl ··· 29 36 meta = { 30 37 description = "Cinelerra - Video Editor"; 31 38 homepage = http://www.cinelerra.org; 39 + maintainers = [lib.maintainers.marcweber]; 32 40 license = "GPLv2"; 33 41 }; 34 42 }
+6
pkgs/build-support/gcc-wrapper2/README
··· 1 + To be removed after we merge stdenv-updates in. 2 + stdenv-updates should have this gcc-wrapper2 as gcc-wrapper. 3 + 4 + Changelog against gcc-wrapper: 5 + - Support for linking shared objects with direct mention of the /path/libxxx.so object, 6 + thus, adding its path to the rpath.
+24
pkgs/build-support/gcc-wrapper2/add-flags
··· 1 + # `-B@out@/bin' forces gcc to use ld-wrapper.sh when calling ld. 2 + export NIX_CFLAGS_COMPILE="-B@out@/bin/ $NIX_CFLAGS_COMPILE" 3 + 4 + if test -e @out@/nix-support/libc-cflags; then 5 + export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE" 6 + fi 7 + 8 + if test -e @out@/nix-support/gcc-cflags; then 9 + export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/gcc-cflags) $NIX_CFLAGS_COMPILE" 10 + fi 11 + 12 + if test -e @out@/nix-support/libc-ldflags; then 13 + export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/libc-ldflags)" 14 + fi 15 + 16 + if test -e @out@/nix-support/gcc-ldflags; then 17 + export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/gcc-ldflags)" 18 + fi 19 + 20 + if test -e @out@/nix-support/libc-ldflags-before; then 21 + export NIX_LDFLAGS_BEFORE="$(cat @out@/nix-support/libc-ldflags-before) $NIX_LDFLAGS_BEFORE" 22 + fi 23 + 24 + export NIX_GCC_WRAPPER_FLAGS_SET=1
+135
pkgs/build-support/gcc-wrapper2/builder.sh
··· 1 + source $stdenv/setup 2 + 3 + 4 + ensureDir $out/bin 5 + ensureDir $out/nix-support 6 + 7 + 8 + if test -z "$nativeLibc"; then 9 + dynamicLinker="$libc/lib/$dynamicLinker" 10 + echo $dynamicLinker > $out/nix-support/dynamic-linker 11 + 12 + if test -e $libc/lib/32/ld-linux.so.2; then 13 + echo $libc/lib/32/ld-linux.so.2 > $out/nix-support/dynamic-linker-m32 14 + fi 15 + 16 + # The "-B$libc/lib/" flag is a quick hack to force gcc to link 17 + # against the crt1.o from our own glibc, rather than the one in 18 + # /usr/lib. (This is only an issue when using an `impure' 19 + # compiler/linker, i.e., one that searches /usr/lib and so on.) 20 + # 21 + # Unfortunately, setting -B appears to override the default search 22 + # path. Thus, the gcc-specific "../includes-fixed" directory is 23 + # now longer searched and glibc's <limits.h> header fails to 24 + # compile, because it uses "#include_next <limits.h>" to find the 25 + # limits.h file in ../includes-fixed. To remedy the problem, 26 + # another -idirafter is necessary to add that directory again. 27 + echo "-B$libc/lib/ -idirafter $libc/include -idirafter $gcc/lib/gcc/*/*/include-fixed" > $out/nix-support/libc-cflags 28 + 29 + echo "-L$libc/lib" > $out/nix-support/libc-ldflags 30 + 31 + # The dynamic linker is passed in `ldflagsBefore' to allow 32 + # explicit overrides of the dynamic linker by callers to gcc/ld 33 + # (the *last* value counts, so ours should come first). 34 + echo "-dynamic-linker $dynamicLinker" > $out/nix-support/libc-ldflags-before 35 + fi 36 + 37 + if test -n "$nativeTools"; then 38 + gccPath="$nativePrefix/bin" 39 + ldPath="$nativePrefix/bin" 40 + else 41 + if test -e "$gcc/lib64"; then 42 + gccLDFlags="$gccLDFlags -L$gcc/lib64" 43 + fi 44 + gccLDFlags="$gccLDFlags -L$gcc/lib" 45 + echo "$gccLDFlags" > $out/nix-support/gcc-ldflags 46 + 47 + # GCC shows $gcc/lib in `gcc -print-search-dirs', but not 48 + # $gcc/lib64 (even though it does actually search there...).. 49 + # This confuses libtool. So add it to the compiler tool search 50 + # path explicitly. 51 + if test -e "$gcc/lib64"; then 52 + gccCFlags="$gccCFlags -B$gcc/lib64" 53 + fi 54 + echo "$gccCFlags" > $out/nix-support/gcc-cflags 55 + 56 + gccPath="$gcc/bin" 57 + ldPath="$binutils/bin" 58 + fi 59 + 60 + 61 + doSubstitute() { 62 + local src=$1 63 + local dst=$2 64 + # Can't use substitute() here, because replace may not have been 65 + # built yet (in the bootstrap). 66 + sed \ 67 + -e "s^@out@^$out^g" \ 68 + -e "s^@shell@^$shell^g" \ 69 + -e "s^@gcc@^$gcc^g" \ 70 + -e "s^@gccProg@^$gccProg^g" \ 71 + -e "s^@binutils@^$binutils^g" \ 72 + -e "s^@libc@^$libc^g" \ 73 + -e "s^@ld@^$ldPath/ld^g" \ 74 + < "$src" > "$dst" 75 + } 76 + 77 + 78 + # Make wrapper scripts around gcc, g++, and gfortran. Also make symlinks 79 + # cc, c++, and f77. 80 + mkGccWrapper() { 81 + local dst=$1 82 + local src=$2 83 + 84 + if ! test -f "$src"; then 85 + echo "$src does not exist (skipping)" 86 + return 87 + fi 88 + 89 + gccProg="$src" 90 + doSubstitute "$gccWrapper" "$dst" 91 + chmod +x "$dst" 92 + } 93 + 94 + mkGccWrapper $out/bin/gcc $gccPath/gcc 95 + ln -s gcc $out/bin/cc 96 + 97 + mkGccWrapper $out/bin/g++ $gccPath/g++ 98 + ln -s g++ $out/bin/c++ 99 + 100 + if test -e $gccPath/gfortran; then 101 + mkGccWrapper $out/bin/gfortran $gccPath/gfortran 102 + ln -s gfortran $out/bin/g77 103 + ln -s gfortran $out/bin/f77 104 + fi 105 + 106 + 107 + # Create a symlink to as (the assembler). This is useful when a 108 + # gcc-wrapper is installed in a user environment, as it ensures that 109 + # the right assembler is called. 110 + ln -s $ldPath/as $out/bin/as 111 + 112 + 113 + # Make a wrapper around the linker. 114 + doSubstitute "$ldWrapper" "$out/bin/ld" 115 + chmod +x "$out/bin/ld" 116 + 117 + 118 + # Emit a setup hook. Also store the path to the original GCC and 119 + # Glibc. 120 + test -n "$gcc" && echo $gcc > $out/nix-support/orig-gcc 121 + test -n "$libc" && echo $libc > $out/nix-support/orig-libc 122 + 123 + doSubstitute "$addFlags" "$out/nix-support/add-flags.sh" 124 + 125 + doSubstitute "$setupHook" "$out/nix-support/setup-hook" 126 + 127 + cp -p $utils $out/nix-support/utils.sh 128 + 129 + 130 + # Propagate the wrapped gcc so that if you install the wrapper, you get 131 + # tools like gcov, the manpages, etc. as well (including for binutils 132 + # and Glibc). 133 + if test -z "$nativeTools"; then 134 + echo $gcc $binutils $libc > $out/nix-support/propagated-user-env-packages 135 + fi
+60
pkgs/build-support/gcc-wrapper2/default.nix
··· 1 + # The Nix `gcc' stdenv.mkDerivation is not directly usable, since it doesn't 2 + # know where the C library and standard header files are. Therefore 3 + # the compiler produced by that package cannot be installed directly 4 + # in a user environment and used from the command line. This 5 + # stdenv.mkDerivation provides a wrapper that sets up the right environment 6 + # variables so that the compiler and the linker just "work". 7 + 8 + { name ? "", stdenv, nativeTools, nativeLibc, nativePrefix ? "" 9 + , gcc ? null, libc ? null, binutils ? null, shell ? "" 10 + }: 11 + 12 + assert nativeTools -> nativePrefix != ""; 13 + assert !nativeTools -> gcc != null && binutils != null; 14 + assert !nativeLibc -> libc != null; 15 + 16 + let 17 + 18 + gccVersion = (builtins.parseDrvName gcc.name).version; 19 + gccName = (builtins.parseDrvName gcc.name).name; 20 + 21 + in 22 + 23 + stdenv.mkDerivation { 24 + name = 25 + (if name != "" then name else gccName + "-wrapper") + 26 + (if gcc != null && gccVersion != "" then "-" + gccVersion else ""); 27 + 28 + builder = ./builder.sh; 29 + setupHook = ./setup-hook.sh; 30 + gccWrapper = ./gcc-wrapper.sh; 31 + ldWrapper = ./ld-wrapper.sh; 32 + utils = ./utils.sh; 33 + addFlags = ./add-flags; 34 + 35 + inherit nativeTools nativeLibc nativePrefix gcc; 36 + libc = if nativeLibc then null else libc; 37 + binutils = if nativeTools then null else binutils; 38 + 39 + langC = if nativeTools then true else gcc.langC; 40 + langCC = if nativeTools then true else gcc.langCC; 41 + langFortran = if nativeTools then false else gcc ? langFortran; 42 + shell = if shell == "" then stdenv.shell else shell; 43 + 44 + meta = 45 + let gcc_ = if gcc != null then gcc else {}; in 46 + (if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) // 47 + { description = 48 + stdenv.lib.attrByPath ["meta" "description"] "System C compiler" gcc_ 49 + + " (wrapper script)"; 50 + }; 51 + 52 + # The dynamic linker has different names on different Linux platforms. 53 + dynamicLinker = 54 + if !nativeLibc then 55 + (if stdenv.system == "i686-linux" then "ld-linux.so.2" else 56 + if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else 57 + if stdenv.system == "powerpc-linux" then "ld.so.1" else 58 + abort "don't know the name of the dynamic linker for this platform") 59 + else ""; 60 + }
+148
pkgs/build-support/gcc-wrapper2/gcc-wrapper.sh
··· 1 + #! @shell@ -e 2 + 3 + if test -n "$NIX_GCC_WRAPPER_START_HOOK"; then 4 + source "$NIX_GCC_WRAPPER_START_HOOK" 5 + fi 6 + 7 + if test -z "$NIX_GCC_WRAPPER_FLAGS_SET"; then 8 + source @out@/nix-support/add-flags.sh 9 + fi 10 + 11 + source @out@/nix-support/utils.sh 12 + 13 + 14 + # Figure out if linker flags should be passed. GCC prints annoying 15 + # warnings when they are not needed. 16 + dontLink=0 17 + getVersion=0 18 + nonFlagArgs=0 19 + 20 + for i in "$@"; do 21 + if test "$i" = "-c"; then 22 + dontLink=1 23 + elif test "$i" = "-S"; then 24 + dontLink=1 25 + elif test "$i" = "-E"; then 26 + dontLink=1 27 + elif test "$i" = "-E"; then 28 + dontLink=1 29 + elif test "$i" = "-M"; then 30 + dontLink=1 31 + elif test "$i" = "-MM"; then 32 + dontLink=1 33 + elif test "${i:0:1}" != "-"; then 34 + nonFlagArgs=1 35 + elif test "$i" = "-m32"; then 36 + if test -e @out@/nix-support/dynamic-linker-m32; then 37 + NIX_LDFLAGS="$NIX_LDFLAGS -dynamic-linker $(cat @out@/nix-support/dynamic-linker-m32)" 38 + fi 39 + fi 40 + done 41 + 42 + # If we pass a flag like -Wl, then gcc will call the linker unless it 43 + # can figure out that it has to do something else (e.g., because of a 44 + # "-c" flag). So if no non-flag arguments are given, don't pass any 45 + # linker flags. This catches cases like "gcc" (should just print 46 + # "gcc: no input files") and "gcc -v" (should print the version). 47 + if test "$nonFlagArgs" = "0"; then 48 + dontLink=1 49 + fi 50 + 51 + 52 + # Optionally filter out paths not refering to the store. 53 + params=("$@") 54 + if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE"; then 55 + rest=() 56 + n=0 57 + while test $n -lt ${#params[*]}; do 58 + p=${params[n]} 59 + p2=${params[$((n+1))]} 60 + if test "${p:0:3}" = "-L/" && badPath "${p:2}"; then 61 + skip $p 62 + elif test "$p" = "-L" && badPath "$p2"; then 63 + n=$((n + 1)); skip $p2 64 + elif test "${p:0:3}" = "-I/" && badPath "${p:2}"; then 65 + skip $p 66 + elif test "$p" = "-I" && badPath "$p2"; then 67 + n=$((n + 1)); skip $p2 68 + elif test "$p" = "-isystem" && badPath "$p2"; then 69 + n=$((n + 1)); skip $p2 70 + else 71 + rest=("${rest[@]}" "$p") 72 + fi 73 + n=$((n + 1)) 74 + done 75 + params=("${rest[@]}") 76 + fi 77 + 78 + 79 + # Add the flags for the C compiler proper. 80 + extraAfter=($NIX_CFLAGS_COMPILE) 81 + extraBefore=() 82 + 83 + if test "$dontLink" != "1"; then 84 + 85 + # Add the flags that should only be passed to the compiler when 86 + # linking. 87 + extraAfter=(${extraAfter[@]} $NIX_CFLAGS_LINK) 88 + 89 + # Add the flags that should be passed to the linker (and prevent 90 + # `ld-wrapper' from adding NIX_LDFLAGS again). 91 + for i in $NIX_LDFLAGS_BEFORE; do 92 + extraBefore=(${extraBefore[@]} "-Wl,$i") 93 + done 94 + for i in $NIX_LDFLAGS; do 95 + if test "${i:0:3}" = "-L/"; then 96 + extraAfter=(${extraAfter[@]} "$i") 97 + else 98 + extraAfter=(${extraAfter[@]} "-Wl,$i") 99 + fi 100 + done 101 + export NIX_LDFLAGS_SET=1 102 + 103 + if test "$NIX_STRIP_DEBUG" = "1"; then 104 + # Add executable-stripping flags. 105 + extraAfter=(${extraAfter[@]} $NIX_CFLAGS_STRIP) 106 + fi 107 + fi 108 + 109 + # As a very special hack, if the arguments are just `-v', then don't 110 + # add anything. This is to prevent `gcc -v' (which normally prints 111 + # out the version number and returns exit code 0) from printing out 112 + # `No input files specified' and returning exit code 1. 113 + if test "$*" = "-v"; then 114 + extraAfter=() 115 + extraBefore=() 116 + fi 117 + 118 + # Optionally print debug info. 119 + if test "$NIX_DEBUG" = "1"; then 120 + echo "original flags to @gccProg@:" >&2 121 + for i in "${params[@]}"; do 122 + echo " $i" >&2 123 + done 124 + echo "extraBefore flags to @gccProg@:" >&2 125 + for i in ${extraBefore[@]}; do 126 + echo " $i" >&2 127 + done 128 + echo "extraAfter flags to @gccProg@:" >&2 129 + for i in ${extraAfter[@]}; do 130 + echo " $i" >&2 131 + done 132 + fi 133 + 134 + if test -n "$NIX_GCC_WRAPPER_EXEC_HOOK"; then 135 + source "$NIX_GCC_WRAPPER_EXEC_HOOK" 136 + fi 137 + 138 + 139 + # Call the real `gcc'. Filter out warnings from stderr about unused 140 + # `-B' flags, since they confuse some programs. Deep bash magic to 141 + # apply grep to stderr (by swapping stdin/stderr twice). 142 + if test -z "$NIX_GCC_NEEDS_GREP"; then 143 + @gccProg@ ${extraBefore[@]} "${params[@]}" ${extraAfter[@]} 144 + else 145 + (@gccProg@ ${extraBefore[@]} "${params[@]}" ${extraAfter[@]} 3>&2 2>&1 1>&3- \ 146 + | (grep -v 'file path prefix' || true); exit ${PIPESTATUS[0]}) 3>&2 2>&1 1>&3- 147 + exit $? 148 + fi
+155
pkgs/build-support/gcc-wrapper2/ld-wrapper.sh
··· 1 + #! @shell@ -e 2 + 3 + if test -n "$NIX_LD_WRAPPER_START_HOOK"; then 4 + source "$NIX_LD_WRAPPER_START_HOOK" 5 + fi 6 + 7 + if test -z "$NIX_GCC_WRAPPER_FLAGS_SET"; then 8 + source @out@/nix-support/add-flags.sh 9 + fi 10 + 11 + source @out@/nix-support/utils.sh 12 + 13 + 14 + # Optionally filter out paths not refering to the store. 15 + params=("$@") 16 + if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE" \ 17 + -a \( -z "$NIX_IGNORE_LD_THROUGH_GCC" -o -z "$NIX_LDFLAGS_SET" \); then 18 + rest=() 19 + n=0 20 + while test $n -lt ${#params[*]}; do 21 + p=${params[n]} 22 + p2=${params[$((n+1))]} 23 + if test "${p:0:3}" = "-L/" && badPath "${p:2}"; then 24 + skip $p 25 + elif test "$p" = "-L" && badPath "$p2"; then 26 + n=$((n + 1)); skip $p2 27 + elif test "$p" = "-rpath" && badPath "$p2"; then 28 + n=$((n + 1)); skip $p2 29 + elif test "$p" = "-dynamic-linker" && badPath "$p2"; then 30 + n=$((n + 1)); skip $p2 31 + elif test "${p:0:1}" = "/" && badPath "$p"; then 32 + # We cannot skip this; barf. 33 + echo "impure path \`$p' used in link" >&2 34 + exit 1 35 + else 36 + rest=("${rest[@]}" "$p") 37 + fi 38 + n=$((n + 1)) 39 + done 40 + params=("${rest[@]}") 41 + fi 42 + 43 + 44 + extra=() 45 + extraBefore=() 46 + 47 + if test -z "$NIX_LDFLAGS_SET"; then 48 + extra=(${extra[@]} $NIX_LDFLAGS) 49 + extraBefore=(${extraBefore[@]} $NIX_LDFLAGS_BEFORE) 50 + fi 51 + 52 + 53 + # Add all used dynamic libraries to the rpath. 54 + if test "$NIX_DONT_SET_RPATH" != "1"; then 55 + 56 + # First, find all -L... switches. 57 + allParams=("${params[@]}" ${extra[@]}) 58 + libPath="" 59 + addToLibPath() { 60 + local path="$1" 61 + if test "${path:0:1}" != "/"; then return 0; fi 62 + case "$path" in 63 + *..*|*./*|*/.*|*//*) 64 + local path2 65 + if path2=$(readlink -f "$path"); then 66 + path="$path2" 67 + fi 68 + ;; 69 + esac 70 + case $libPath in 71 + *\ $path\ *) return 0 ;; 72 + esac 73 + libPath="$libPath $path " 74 + } 75 + n=0 76 + while test $n -lt ${#allParams[*]}; do 77 + p=${allParams[n]} 78 + p2=${allParams[$((n+1))]} 79 + if test "${p:0:3}" = "-L/"; then 80 + addToLibPath ${p:2} 81 + elif test "$p" = "-L"; then 82 + addToLibPath ${p2} 83 + n=$((n + 1)) 84 + elif $(echo "$p" | grep -q '\.so\($\|\.\)'); then 85 + path="$(dirname "$p")"; 86 + addToLibPath "${path}" 87 + fi 88 + n=$((n + 1)) 89 + done 90 + 91 + # Second, for each directory in the library search path (-L...), 92 + # see if it contains a dynamic library used by a -l... flag. If 93 + # so, add the directory to the rpath. 94 + rpath="" 95 + 96 + addToRPath() { 97 + # If the path is not in the store, don't add it to the rpath. 98 + # This typically happens for libraries in /tmp that are later 99 + # copied to $out/lib. If not, we're screwed. 100 + if test "${1:0:${#NIX_STORE}}" != "$NIX_STORE"; then return 0; fi 101 + case $rpath in 102 + *\ $1\ *) return 0 ;; 103 + esac 104 + rpath="$rpath $1 " 105 + } 106 + 107 + for i in $libPath; do 108 + n=0 109 + while test $n -lt ${#allParams[*]}; do 110 + p=${allParams[n]} 111 + p2=${allParams[$((n+1))]} 112 + if test "${p:0:2}" = "-l" -a -f "$i/lib${p:2}.so"; then 113 + addToRPath $i 114 + break 115 + elif test "$p" = "-l" -a -f "$i/lib${p2}"; then 116 + # I haven't seen `-l foo', but you never know... 117 + addToRPath $i 118 + break 119 + elif $(echo "$p" | grep -q '\.so\($\|\.\)'); then 120 + path="$(dirname "$p")"; 121 + if test "$path" == "$i"; then 122 + addToRPath $i 123 + break; 124 + fi 125 + fi 126 + n=$((n + 1)) 127 + done 128 + 129 + done 130 + 131 + 132 + # Finally, add `-rpath' switches. 133 + for i in $rpath; do 134 + extra=(${extra[@]} -rpath $i) 135 + done 136 + fi 137 + 138 + 139 + # Optionally print debug info. 140 + if test "$NIX_DEBUG" = "1"; then 141 + echo "original flags to @ld@:" >&2 142 + for i in "${params[@]}"; do 143 + echo " $i" >&2 144 + done 145 + echo "extra flags to @ld@:" >&2 146 + for i in ${extra[@]}; do 147 + echo " $i" >&2 148 + done 149 + fi 150 + 151 + if test -n "$NIX_LD_WRAPPER_EXEC_HOOK"; then 152 + source "$NIX_LD_WRAPPER_EXEC_HOOK" 153 + fi 154 + 155 + exec @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}
+29
pkgs/build-support/gcc-wrapper2/setup-hook.sh
··· 1 + addCVars () { 2 + if test -d $1/include; then 3 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$1/include" 4 + fi 5 + 6 + if test -d $1/lib64; then 7 + export NIX_LDFLAGS="$NIX_LDFLAGS -L$1/lib64" 8 + fi 9 + 10 + if test -d $1/lib; then 11 + export NIX_LDFLAGS="$NIX_LDFLAGS -L$1/lib" 12 + fi 13 + } 14 + 15 + envHooks=(${envHooks[@]} addCVars) 16 + 17 + # Note: these come *after* $out in the PATH (see setup.sh). 18 + 19 + if test -n "@gcc@"; then 20 + addToSearchPath PATH @gcc@/bin 21 + fi 22 + 23 + if test -n "@binutils@"; then 24 + addToSearchPath PATH @binutils@/bin 25 + fi 26 + 27 + if test -n "@libc@"; then 28 + addToSearchPath PATH @libc@/bin 29 + fi
+23
pkgs/build-support/gcc-wrapper2/utils.sh
··· 1 + skip () { 2 + if test "$NIX_DEBUG" = "1"; then 3 + echo "skipping impure path $1" >&2 4 + fi 5 + } 6 + 7 + 8 + # Checks whether a path is impure. E.g., `/lib/foo.so' is impure, but 9 + # `/nix/store/.../lib/foo.so' isn't. 10 + badPath() { 11 + local p=$1 12 + 13 + # Relative paths are okay (since they're presumably relative to 14 + # the temporary build directory). 15 + if test "${p:0:1}" != "/"; then return 1; fi 16 + 17 + # Otherwise, the path should refer to the store or some temporary 18 + # directory (including the build directory). 19 + test \ 20 + "${p:0:${#NIX_STORE}}" != "$NIX_STORE" -a \ 21 + "${p:0:4}" != "/tmp" -a \ 22 + "${p:0:${#NIX_BUILD_TOP}}" != "$NIX_BUILD_TOP" 23 + }
+16
pkgs/build-support/source-from-head-fun.nix
··· 1 + /* 2 + purpose: mantain bleeding edge head sources. 3 + 4 + you run 5 + app --update 6 + app --publish 7 + to create source snapshots 8 + 9 + The documentation is availible at http://github.com/MarcWeber/nix-repository-manager/raw/master/README 10 + 11 + */ 12 + { getConfig }: 13 + localTarName: publishedSrcSnapshot: 14 + if getConfig ["sourceFromHead" "useLocalRepos"] false then 15 + "${getConfig ["sourceFromHead" "managedRepoDir"] "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}" 16 + else publishedSrcSnapshot
+31
pkgs/development/compilers/ghc/6.10.1.nix
··· 24 24 inherit homepage; 25 25 description = "The Glasgow Haskell Compiler"; 26 26 }; 27 + 28 + 29 + passthru = { 30 + corePackages = [ 31 + [ "Cabal" "1.6.0.1" ] 32 + [ "array" "0.2.0.0" ] 33 + [ "base" "3.0.3.0" ] 34 + [ "base" "4.0.0.0" ] 35 + [ "bytestring" "0.9.1.4" ] 36 + [ "containers" "0.2.0.0" ] 37 + [ "directory" "1.0.0.2" ] 38 + [ "editline" "0.2.1.0" ] 39 + [ "filepath" "1.1.0.1" ] 40 + [ "(ghc" "6.10.1)" ] 41 + [ "ghc-prim" "0.1.0.0" ] 42 + [ "haddock" "2.3.0" ] 43 + [ "haskell98" "1.0.1.0" ] 44 + [ "hpc" "0.5.0.2" ] 45 + [ "integer" "0.1.0.0" ] 46 + [ "old-locale" "1.0.0.1" ] 47 + [ "old-time" "1.0.0.1" ] 48 + [ "packedstring" "0.1.0.1" ] 49 + [ "pretty" "1.0.1.0" ] 50 + [ "process" "1.0.1.0" ] 51 + [ "random" "1.0.0.1" ] 52 + [ "rts" "1.0" ] 53 + [ "syb" "0.1.0.0" ] 54 + [ "template-haskell" "2.3.0.0" ] 55 + [ "unix" "2.3.1.0" ] 56 + ]; 57 + }; 27 58 }
+30
pkgs/development/compilers/ghc/6.10.2.nix
··· 24 24 inherit homepage; 25 25 description = "The Glasgow Haskell Compiler"; 26 26 }; 27 + 28 + passthru = { 29 + corePackages = [ 30 + [ "Cabal" "1.6.0.3" ] 31 + [ "array" "0.2.0.0" ] 32 + [ "base" "3.0.3.1" ] 33 + [ "base" "4.1.0.0" ] 34 + [ "bytestring" "0.9.1.4" ] 35 + [ "containers" "0.2.0.1" ] 36 + [ "directory" "1.0.0.3" ] 37 + [ "editline" "0.2.1.0" ] 38 + [ "filepath" "1.1.0.2" ] 39 + [ "(ghc" "6.10.2)" ] 40 + [ "ghc-prim" "0.1.0.0" ] 41 + [ "haddock" "2.4.2" ] 42 + [ "haskell98" "1.0.1.0" ] 43 + [ "hpc" "0.5.0.3" ] 44 + [ "integer" "0.1.0.1" ] 45 + [ "old-locale" "1.0.0.1" ] 46 + [ "old-time" "1.0.0.2" ] 47 + [ "packedstring" "0.1.0.1" ] 48 + [ "pretty" "1.0.1.0" ] 49 + [ "process" "1.0.1.1" ] 50 + [ "random" "1.0.0.1" ] 51 + [ "rts" "1.0" ] 52 + [ "syb" "0.1.0.1" ] 53 + [ "template-haskell" "2.3.0.1" ] 54 + [ "unix" "2.3.2.0" ] 55 + ]; 56 + }; 27 57 }
+31
pkgs/development/compilers/ghc/6.10.3.nix
··· 24 24 inherit homepage; 25 25 description = "The Glasgow Haskell Compiler"; 26 26 }; 27 + 28 + 29 + passthru = { 30 + corePackages = [ 31 + [ "Cabal" "1.6.0.3" ] 32 + [ "array" "0.2.0.0" ] 33 + [ "base" "3.0.3.1" ] 34 + [ "base" "4.1.0.0" ] 35 + [ "bytestring" "0.9.1.4" ] 36 + [ "containers" "0.2.0.1" ] 37 + [ "directory" "1.0.0.3" ] 38 + [ "extensible-exceptions" "0.1.1.0" ] 39 + [ "filepath" "1.1.0.2" ] 40 + [ "ghc" "6.10.3" ] 41 + [ "ghc-prim" "0.1.0.0" ] 42 + [ "haddock" "2.4.2" ] 43 + [ "haskell98" "1.0.1.0" ] 44 + [ "hpc" "0.5.0.3" ] 45 + [ "integer" "0.1.0.1" ] 46 + [ "old-locale" "1.0.0.1" ] 47 + [ "old-time" "1.0.0.2" ] 48 + [ "packedstring" "0.1.0.1" ] 49 + [ "pretty" "1.0.1.0" ] 50 + [ "process" "1.0.1.1" ] 51 + [ "random" "1.0.0.1" ] 52 + [ "rts" "1.0" ] 53 + [ "syb" "0.1.0.1" ] 54 + [ "template-haskell" "2.3.0.1" ] 55 + [ "unix" "2.3.2.0" ] 56 + ]; 57 + }; 27 58 }
+30
pkgs/development/compilers/ghc/6.10.4.nix
··· 24 24 inherit homepage; 25 25 description = "The Glasgow Haskell Compiler"; 26 26 }; 27 + 28 + passthru = { 29 + corePackages = [ 30 + [ "Cabal" "1.6.0.3" ] 31 + [ "array" "0.2.0.0" ] 32 + [ "base" "3.0.3.1" ] 33 + [ "base" "4.1.0.0" ] 34 + [ "bytestring" "0.9.1.4" ] 35 + [ "containers" "0.2.0.1" ] 36 + [ "directory" "1.0.0.3" ] 37 + [ "extensible-exceptions" "0.1.1.0" ] 38 + [ "filepath" "1.1.0.2" ] 39 + [ "ghc" "6.10.4" ] 40 + [ "ghc-prim" "0.1.0.0" ] 41 + [ "haddock" "2.4.2" ] 42 + [ "haskell98" "1.0.1.0" ] 43 + [ "hpc" "0.5.0.3" ] 44 + [ "integer" "0.1.0.1" ] 45 + [ "old-locale" "1.0.0.1" ] 46 + [ "old-time" "1.0.0.2" ] 47 + [ "packedstring" "0.1.0.1" ] 48 + [ "pretty" "1.0.1.0" ] 49 + [ "process" "1.0.1.1" ] 50 + [ "random" "1.0.0.1" ] 51 + [ "rts" "1.0" ] 52 + [ "syb" "0.1.0.1" ] 53 + [ "template-haskell" "2.3.0.1" ] 54 + [ "unix" "2.3.2.0" ] 55 + ]; 56 + }; 27 57 }
+40
pkgs/development/compilers/ghc/6.12.1.nix
··· 35 35 inherit homepage; 36 36 description = "The Glasgow Haskell Compiler"; 37 37 }; 38 + 39 + 40 + passthru = { 41 + corePackages = [ 42 + [ "Cabal" "1.8.0" ] 43 + [ "array" "0.3.0.0" ] 44 + [ "base" "3.0.3.2" ] 45 + [ "base" "4.2.0.0" ] 46 + [ "bin-package-db" "0.0.0.0" ] 47 + [ "bytestring" "0.9.1.5" ] 48 + [ "containers" "0.3.0.0" ] 49 + [ "directory" "1.0.1.0" ] 50 + [ "dph-base" "0.4.0" ] 51 + [ "dph-par" "0.4.0" ] 52 + [ "dph-prim-interface" "0.4.0" ] 53 + [ "dph-prim-par" "0.4.0" ] 54 + [ "dph-prim-seq" "0.4.0" ] 55 + [ "dph-seq" "0.4.0" ] 56 + [ "extensible-exceptions" "0.1.1.1" ] 57 + [ "ffi" "1.0" ] 58 + [ "filepath" "1.1.0.3" ] 59 + [ "ghc" "6.12.0.20091010" ] 60 + [ "ghc-binary" "0.5.0.2" ] 61 + [ "ghc-prim" "0.2.0.0" ] 62 + [ "haskell98" "1.0.1.1" ] 63 + [ "hpc" "0.5.0.4" ] 64 + [ "integer-gmp" "0.2.0.0" ] 65 + [ "old-locale" "1.0.0.2" ] 66 + [ "old-time" "1.0.0.3" ] 67 + [ "pretty" "1.0.1.1" ] 68 + [ "process" "1.0.1.2" ] 69 + [ "random" "1.0.0.2" ] 70 + [ "rts" "1.0" ] 71 + [ "syb" "0.1.0.2" ] 72 + [ "template-haskell" "2.4.0.0" ] 73 + [ "time" "1.1.4" ] 74 + [ "unix" "2.4.0.0" ] 75 + [ "utf8-string" "0.3.4" ] 76 + ]; 77 + }; 38 78 }
+48 -6
pkgs/development/compilers/haxe/default.nix
··· 1 1 args: with args; 2 2 3 + let 4 + 5 + src_haxe_swflib = { 6 + # REGION AUTO UPDATE: { name = "haxe_swflib"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/swflib"; groups = "haxe_group"; } 7 + src= sourceFromHead "haxe_swflib-F_01-25-00.tar.gz" 8 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_swflib-F_01-25-00.tar.gz"; sha256 = "ddea39427de23ff58d3b942bbcce2aac7a25dc11ae06ef983653c82614eba9cd"; }); 9 + # END 10 + }.src; 11 + 12 + src_haxe_extc = { 13 + # REGION AUTO UPDATE: { name = "haxe_extc"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extc"; groups = "haxe_group"; } 14 + src= sourceFromHead "haxe_extc-F_01-25-08.tar.gz" 15 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extc-F_01-25-08.tar.gz"; sha256 = "ab2100391735d39c93c72b236ec6e9c5cf09461311a7e3a714d867861926ae37"; }); 16 + # END 17 + }.src; 18 + 19 + src_haxe_extlib_dev = { 20 + # REGION AUTO UPDATE: { name = "haxe_extlib_dev"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extlib-dev"; groups = "haxe_group"; } 21 + src= sourceFromHead "haxe_extlib_dev-F_01-25-17.tar.gz" 22 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extlib_dev-F_01-25-17.tar.gz"; sha256 = "01c3c8afdf47a98320e65c0652492508854ea28ead0437abd17a4228b33c8066"; }); 23 + # END 24 + }.src; 25 + 26 + src_haxe_xml_light = { 27 + # REGION AUTO UPDATE: { name = "haxe_xml_light"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/xml-light"; groups = "haxe_group"; } 28 + src= sourceFromHead "haxe_xml_light-F_01-25-24.tar.gz" 29 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_xml_light-F_01-25-24.tar.gz"; sha256 = "7fe244681698995af54085bb2ab873d3dd1ff2fac33aa8e7b00fcbbc50249334"; }); 30 + # END 31 + }.src; 32 + 33 + src_haxe_neko_include = { 34 + # REGION AUTO UPDATE: { name = "haxe_neko_include"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko/libs/include/ocaml"; groups = "haxe_group"; } 35 + src= sourceFromHead "haxe_neko_include-F_01-25-28.tar.gz" 36 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_neko_include-F_01-25-28.tar.gz"; sha256 = "8b642598889cf2fd1f99dfa037eef09b2511d30a8f5a6a75ee02b2e98fa4c6b7"; }); 37 + # END 38 + }.src; 39 + 40 + in 41 + 3 42 stdenv.mkDerivation { 4 43 name = "haxe-cvs"; 5 44 6 - src = sourceByName "haxe"; 45 + # REGION AUTO UPDATE: { name="haxe"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "haxe"; groups = "haxe_group"; } 46 + src= sourceFromHead "haxe-F_01-25-35.tar.gz" 47 + (fetchurl { url = "http://mawercer.de/~nix/repos/haxe-F_01-25-35.tar.gz"; sha256 = "8e5e5330e2fd7ffbbfe48d40bda03256aefbe30cf1be1d9c9065117b2b179f24"; }); 48 + # END 7 49 8 50 buildInputs = [ocaml zlib makeWrapper]; 9 51 ··· 16 58 tar xfz $src --strip-components=1 -C haxe 17 59 18 60 t(){ tar xfz $1 -C $2 --strip-components=2; } 19 - t ${sourceByName "haxe_swflib"} ocaml/swflib 20 - t ${sourceByName "haxe_extc"} ocaml/extc 21 - t ${sourceByName "haxe_extlib_dev"} ocaml/extlib-dev 22 - t ${sourceByName "haxe_xml_light"} ocaml/xml-light 23 - t ${sourceByName "haxe_neko_include"} neko/libs 61 + t ${src_haxe_swflib} ocaml/swflib 62 + t ${src_haxe_extc} ocaml/extc 63 + t ${src_haxe_extlib_dev} ocaml/extlib-dev 64 + t ${src_haxe_xml_light} ocaml/xml-light 65 + t ${src_haxe_neko_include} neko/libs 24 66 25 67 sed -e '/download();/d' \ 26 68 -e "s@/usr/lib/@''${zlib}/lib/@g" \
+4 -1
pkgs/development/compilers/neko/default.nix
··· 14 14 15 15 name = "neko-cvs"; 16 16 17 - src = sourceByName "neko"; 17 + # REGION AUTO UPDATE: { name="neko"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko"; } 18 + src= sourceFromHead "neko-F_01-20-32.tar.gz" 19 + (fetchurl { url = "http://mawercer.de/~nix/repos/neko-F_01-20-32.tar.gz"; sha256 = "785449f6df718fe26b6c87a2b7aa3cc587a72e7127582e6300ce966d97d6d16b"; }); 20 + # END 18 21 19 22 # optionally remove apache mysql like gentoo does? 20 23 # they just remove libs/{apache,mod_neko}
+21 -2
pkgs/development/compilers/ocaml/3.11.1.nix
··· 26 26 27 27 meta = { 28 28 homepage = http://caml.inria.fr/ocaml; 29 - license = "QPL, LGPL2 (library part)"; 30 - desctiption = "Most popular variant of the Caml language"; 29 + licenses = [ "QPL" /* compiler */ "LGPLv2" /* library */ ]; 30 + description = "Objective Caml, the most popular variant of the Caml language"; 31 + 32 + longDescription = 33 + '' Objective Caml is the most popular variant of the Caml language. 34 + From a language standpoint, it extends the core Caml language with a 35 + fully-fledged object-oriented layer, as well as a powerful module 36 + system, all connected by a sound, polymorphic type system featuring 37 + type inference. 38 + 39 + The Objective Caml system is an industrial-strength implementation 40 + of this language, featuring a high-performance native-code compiler 41 + (ocamlopt) for 9 processor architectures (IA32, PowerPC, AMD64, 42 + Alpha, Sparc, Mips, IA64, HPPA, StrongArm), as well as a bytecode 43 + compiler (ocamlc) and an interactive read-eval-print loop (ocaml) 44 + for quick development and portability. The Objective Caml 45 + distribution includes a comprehensive standard library, a replay 46 + debugger (ocamldebug), lexer (ocamllex) and parser (ocamlyacc) 47 + generators, a pre-processor pretty-printer (camlp4) and a 48 + documentation generator (ocamldoc). 49 + ''; 31 50 }; 32 51 33 52 })
+24
pkgs/development/compilers/polyml/default.nix
··· 1 + {stdenv, fetchurl}: 2 + 3 + let 4 + pname = "polyml"; 5 + version = "5.3"; 6 + in 7 + 8 + stdenv.mkDerivation { 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchurl { 12 + url = "mirror://sourceforge/${pname}/${pname}.${version}.tar.gz"; 13 + sha256 = "154e836f4e65b5c72f8190d3c02e5ed237921cef716cb49add1e0e1e35fb2af4"; 14 + }; 15 + 16 + meta = { 17 + description = "Standard ML compiler and interpreter"; 18 + longDescription = '' 19 + Poly/ML is a full implementation of Standard ML. 20 + ''; 21 + homepage = http://www.polyml.org/; 22 + license = "LGPL"; 23 + }; 24 + }
+11
pkgs/development/interpreters/guile/disable-gc-sensitive-tests.patch
··· 3 3 be many false references held on the stack, leading to the failure of 4 4 such tests. 5 5 6 + --- a/test-suite/tests/gc.test 7 + +++ b/test-suite/tests/gc.test 8 + @@ -59,6 +59,7 @@ 9 + 10 + (with-test-prefix "gc" 11 + (pass-if "Unused modules are removed" 12 + + (throw 'unresolved) 13 + (let* ((guard (make-guardian)) 14 + (total 1000)) 15 + 16 + 6 17 --- a/test-suite/tests/threads.test 7 18 +++ b/test-suite/tests/threads.test 8 19 @@ -366,6 +366,7 @@
+5 -2
pkgs/development/interpreters/octave/hg.nix
··· 1 1 {stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, 2 - bison, autoconf, automake, sourceByName, getConfig, lib, atlas, gperf, python, glibc, gnuplot, texinfo, texLive, qhull, libX11}: 2 + bison, autoconf, automake, sourceFromHead, getConfig, lib, atlas, gperf, python, glibc, gnuplot, texinfo, texLive, qhull, libX11}: 3 3 4 4 let commonBuildInputs = [gfortran readline ncurses perl glibc qhull libX11 texinfo]; in 5 5 ··· 14 14 } // ( 15 15 if (getConfig ["octave" "devVersion"] false) then { 16 16 name = "octave-hg"; # developement version mercurial repo 17 - src = sourceByName "octave"; 17 + # REGION AUTO UPDATE: { name="octave"; type = "hg"; url = "http://www.octave.org/hg/octave"; } 18 + src = sourceFromHead "octave-03b414516dd8.tar.gz" 19 + (fetchurl { url = "http://mawercer.de/~nix/repos/octave-03b414516dd8.tar.gz"; sha256 = "30877f1e2ff1a456e7a76153aabf7c59ce7c7a8b63eda0515b1eead6a4351ce7"; }); 20 + # END 18 21 # HOME is set to $TMP because octave needs to access ${HOME}/.octave_hist while running targets 19 22 # in doc/interpreter.. Maybe this can be done better. This hack is fastest :) 20 23 preConfigure = ''
+3 -1
pkgs/development/interpreters/perl-5.8/default.nix
··· 5 5 stdenv.mkDerivation { 6 6 name = "perl-5.8.8"; 7 7 8 - builder = 8 + phases = "phase"; 9 + phase = 9 10 '' 10 11 source $stdenv/setup 11 12 ··· 28 29 cp $setupHook $out/nix-support/setup-hook 29 30 } 30 31 32 + unset phases 31 33 genericBuild 32 34 33 35 '';
+22 -22
pkgs/development/interpreters/python-new/2.5/default.nix
··· 13 13 p: # p = pkgs 14 14 let 15 15 inherit (builtins) isAttrs hasAttr; 16 - inherit (p) lib fetchurl stdenv getConfig; 16 + inherit (p) lib fetchurl stdenv getConfig sourceFromHead; 17 17 inherit (p.composableDerivation) composableDerivation; 18 18 # withName prevents nix-env -qa \* from aborting (pythonLibStub is a derivation but hasn't a name) 19 19 withName = lib.mapAttrs (n : v : if (isAttrs v && (!hasAttr "name" v)) then null else v); ··· 382 382 }; 383 383 }; 384 384 385 - # zope = t.pythonLibStub.merge rec { 386 - #[> version = "3.3.1"; 387 - # version = "svn"; 388 - # name = "zope-${version}"; 389 - # [>src = p.blending.sourceByName "zope"; 390 - # src = "/home/marc/managed_repos/zope"; 391 - 392 - # [>fetchurl { 393 - # [> Doh! Python version 2.4.3 before continuing. Versions 394 - # [> 2.4.7 2.4.6 2.4.5 2.4.4 2.4.2 2.4.1 also work, but not as optimally. 395 - # [> url = "http://www.zope.org/Products/Zope3/${version}/Zope-${version}.tgz"; 396 - # [> sha256 = "1qvvh384j7blzhwgfmd5kqvr5vzpv5khaj8ha46ln3hrwffrk2b1"; 397 - # [>}; 398 - # pyCheck = ""; 399 - # }; 400 - 401 385 setuptools = t.pythonLibSetup.merge { 402 386 name = "setuptools-0.6c9"; 403 387 postUnpack = '' ··· 537 521 name = "soappy-0.12"; 538 522 pyCheck = "from SOAPpy import WSDL"; 539 523 propagatedBuildInputs = [ t.fpconst ]; 540 - src = p.bleedingEdgeRepos.sourceByName "pywebcvs"; 524 + # REGION AUTO UPDATE: { name="pywebcvs"; type = "svn"; url = "https://pywebsvcs.svn.sourceforge.net/svnroot/pywebsvcs/trunk"; } 525 + src = sourceFromHead "pywebcvs-1493.tar.gz" 526 + (fetchurl { url = "http://mawercer.de/~nix/repos/pywebcvs-1493.tar.gz"; sha256 = "54e9faca87d8a59a22e06374b8416555cf76d3f411fa2be168ad542c2d8e6fc1"; }); 527 + # END 541 528 postUnpack = "sourceRoot=$sourceRoot/SOAPpy"; 542 529 /* The release is buggy. I can't get list of dedicated netboots from ovh ? 543 530 src = fetchurl { ··· 560 547 import sqlalchemy.orm 561 548 import sqlalchemy.orm.collections 562 549 ''; 563 - src = p.bleedingEdgeRepos.sourceByName "sqlalchemy05"; 550 + # REGION AUTO UPDATE: { name="sqlalchemy05"; type = "svn"; url="http://svn.sqlalchemy.org/sqlalchemy/trunk"; } 551 + src = sourceFromHead "sqlalchemy05-6076.tar.gz" 552 + (fetchurl { url = "http://mawercer.de/~nix/repos/sqlalchemy05-6076.tar.gz"; sha256 = "f35e6475996f7591d49affbc935c40b4c93e4cdaff86a50af9321774de2025b2"; }); 553 + # END 564 554 meta = { 565 555 description = "sql orm wrapper for python"; 566 556 homepage = http://www.sqlalchemy.org; ··· 578 568 579 569 iElectric: column.alter could be broken .. 580 570 */ 581 - installMigration = '' 571 + installMigration = 572 + let src = { 573 + # REGION AUTO UPDATE: { name="sqlalchemyMigrate"; type = "svn"; url="http://sqlalchemy-migrate.googlecode.com/svn/trunk"; } 574 + src = sourceFromHead "sqlalchemyMigrate-569.tar.gz" 575 + (fetchurl { url = "http://mawercer.de/~nix/repos/sqlalchemyMigrate-569.tar.gz"; sha256 = "3b076b33aa13bb2923e719489fd7988a5660bd8d8e87dac03f453b510e2695f4"; }); 576 + # END 577 + }.src; in 578 + '' 582 579 cd $TMP 583 580 mkdir migrate 584 581 cd migrate 585 - unpackFile ${p.bleedingEdgeRepos.sourceByName "sqlalchemyMigrate"} 582 + unpackFile ${src} 586 583 cd * 587 584 python setup.py $setupFlags build 588 585 python setup.py $setupFlags install --prefix=$out ··· 605 602 import migrate.changeset 606 603 import migrate.changeset.schema 607 604 ''; 608 - src = p.bleedingEdgeRepos.sourceByName "sqlalchemyMigrate"; 605 + # REGION AUTO UPDATE: { name="sqlalchemyMigrate"; type = "svn"; url="http://sqlalchemy-migrate.googlecode.com/svn/trunk"; } 606 + src = sourceFromHead "sqlalchemyMigrate-569.tar.gz" 607 + (fetchurl { url = "http://mawercer.de/~nix/repos/sqlalchemyMigrate-569.tar.gz"; sha256 = "2bfbd41e31c9dce4434ca4cb209338ccef1fd0394999b18111be838b79db703b"; }); 608 + # END 609 609 meta = { 610 610 description = "sqlalchemy database versioning and scheme migration"; 611 611 homepage = http://packages.python.org/sqlalchemy-migrate/download.html;
+5 -2
pkgs/development/libraries/haskell/get-options/default.nix
··· 1 - {cabal, sourceByName, mtl}: 1 + {cabal, fetchurl, sourceFromHead, mtl}: 2 2 3 3 cabal.mkDerivation (self : { 4 4 pname = "get-options"; 5 5 version = "x"; # ? 6 6 name = self.fname; 7 - src = sourceByName "getOptions"; 7 + # REGION AUTO UPDATE: { name="getOptions"; type="darcs"; url = "http://repetae.net/john/repos/GetOptions"; } 8 + src = sourceFromHead "getOptions-nrmtag1.tar.gz" 9 + (fetchurl { url = "http://mawercer.de/~nix/repos/getOptions-nrmtag1.tar.gz"; sha256 = "0e884687b2c676a5b7e79826a2236991cb045f794c5fd625813529a2b30224cd"; }); 10 + # END 8 11 extraBuildInputs = [ mtl ]; 9 12 meta = { 10 13 description = "Simple to use get option library";
+5 -2
pkgs/development/libraries/haskell/ghc-syb/default.nix
··· 1 - {cabal, syb, sourceByName}: 1 + {cabal, fetchurl, syb, sourceFromHead}: 2 2 3 3 cabal.mkDerivation (self : { 4 4 pname = "ghc-syb"; 5 5 version = "dev"; 6 6 name = self.fname; 7 - src = sourceByName "ghc_syb"; 7 + # REGION AUTO UPDATE: { name="ghc_syb"; type = "git"; url = "git://github.com/nominolo/ghc-syb.git"; groups="haskell scien"; } 8 + src = sourceFromHead "ghc_syb-876b121e73f1b5ca4b17b0c6908b27ba7efb0374.tar.gz" 9 + (fetchurl { url = "http://mawercer.de/~nix/repos/ghc_syb-876b121e73f1b5ca4b17b0c6908b27ba7efb0374.tar.gz"; sha256 = "bb5071ee8a6a6cd99634e0f146c921592e8c77b13d511cde0c91fedc406a0a07"; }); 10 + # END 8 11 extraBuildInputs = [syb]; 9 12 meta = { 10 13 description = "Source code suggestions";
-18
pkgs/development/libraries/openal/default.nix
··· 12 12 13 13 buildInputs = [ cmake alsaLib ]; 14 14 15 - cmakeFlags = "-DCMAKE_SHARED_LINKER_FLAGS=\"-Wl,-rpath,$out/lib/\"" + 16 - " -DCMAKE_EXE_LINKER_FLAGS=\"-Wl,-rpath,$out/lib\"" + 17 - " -DCMAKE_SKIP_BUILD_RPATH=ON" + 18 - " -DCMAKE_BUILD_TYPE=Release" + 19 - " -DCMAKE_INSTALL_PREFIX=$out"; 20 - 21 - dontUseCmakeConfigure = true; 22 - 23 - # I rewrote the configure phase to get the $out references evaluated in 24 - # cmakeFlags 25 - configurePhase = '' 26 - set -x 27 - mkdir -p build; 28 - cd build 29 - eval -- "cmake .. $cmakeFlags" 30 - set +x 31 - ''; 32 - 33 15 meta = { 34 16 description = "OpenAL, a cross-platform 3D audio API"; 35 17
+2 -2
pkgs/development/libraries/vtk/default.nix
··· 3 3 stdenv.mkDerivation { 4 4 name = "vtk-5.2.1"; 5 5 src = fetchurl { 6 - url = http://www.vtk.org/files/release/5.2/vtk-5.2.1.tar.gz; 7 - sha256 = "c81521b3767a044745336212cbde500d6e97a1f8ba647bc590857e36f57003bb"; 6 + url = http://www.vtk.org/files/release/5.4/vtk-5.4.2.tar.gz; 7 + sha256 = "0gd7xlxiqww6xxcs2kicz0g6k147y3200np4jnsf10vlxs10az03"; 8 8 }; 9 9 buildInputs = [ cmake mesa libX11 xproto libXt ]; 10 10
-105
pkgs/development/misc/bleeding-edge-repos/default.nix
··· 1 - args: 2 - with args; 3 - let inherit (builtins) pathExists hasAttr getAttr head; in 4 - rec { 5 - /* 6 - tries to get source in this order 7 - 1) Local .tar.gz in ${HOME}/managed_repos/dist/name.tar.gz (-> see nixRepositoryManager) 8 - 2) By importing 9 - pkgs/misc/bleeding-edge-fetch-info/name.nix 10 - (generated by nixRepositoryManager --publish) 11 - */ 12 - 13 - managedRepoDir = getConfig [ "bleedingEdgeRepos" "managedRepoDir" ] (builtins.getEnv "HOME" + "/managed_repos"); 14 - 15 - sourceByName = name : 16 - let fetchinfo = if (hasAttr name fetchInfos) 17 - then (getAttr name fetchInfos) { inherit fetchurl; } 18 - else throw "no bleeding edge source attribute found in bleeding-edge-fetch-infos.nix with name ${name}\n" 19 - "run NO_FETCH=1 nix-repository-manager <path to nixpkgs> --update <reponame> to add it automatically"; 20 - localTarGZ = managedRepoDir+"/dist/${ builtins.baseNameOf (head fetchinfo.urls) }"; # hack, dropPath should be implemented as primop 21 - fetchInfos = import ../../../misc/bleeding-edge-fetch-infos.nix; in 22 - if (getConfig ["bleedingEdgeRepos" "useLocalRepos"] false && builtins.pathExists localTarGZ) 23 - then localTarGZ else fetchinfo; 24 - 25 - repos = 26 - let kde4support = builtins.listToAttrs (map (n: lib.nameValuePair ("kdesupport_"+n) { type = "svn"; url = "svn://anonsvn.kde.org/home/kde/trunk/kdesupport/${n}"; groups="kdesupport"; }) 27 - [ "akode" "eigen" "gmm" "qca" "qimageblitz" "soprano" "strigi" "taglib" 28 - "automoc" "akonadi" "cpptoxml" "decibel" "emerge" "phonon" "tapioca_qt" "telepathy_qt"]); in 29 - # in trunk but not yet supported by nix: akonadi/ automoc/ cpptoxml/ decibel/ emerge/ kdewin-installer/ kdewin32/ phonon/ tapioca-qt/ telepathy-qt/ 30 - { 31 - # each repository has 32 - # a type, url and maybe a tag 33 - # you can add groups names to update some repositories at once 34 - # see nix-repository-manager expression in haskellPackages 35 - 36 - unsermake = { type = "svn"; url = "svn://anonsvn.kde.org/home/kde/trunk/kdenonbeta/unsermake"; }; 37 - 38 - nix_repository_manager = { type = "darcs"; url = "http://mawercer.de/~marc/repos/nix-repository-manager"; }; 39 - 40 - pywebcvs = { type = "svn"; url = "https://pywebsvcs.svn.sourceforge.net/svnroot/pywebsvcs/trunk"; }; 41 - 42 - plugins = { type = "darcs"; url="http://code.haskell.org/~dons/code/hs-plugins/"; groups="haskell"; }; 43 - 44 - git_fast_export = { type = "git"; url="git://repo.or.cz/hg2git.git"; }; 45 - 46 - MPlayer = { type = "svn"; url="svn://svn.mplayerhq.hu/mplayer/trunk"; }; 47 - 48 - # darcs repositories haskell 49 - http = { type= "darcs"; url="http://darcs.haskell.org/http/"; groups="happs"; }; 50 - syb_with_class = { type="darcs"; url="http://happs.org/HAppS/syb-with-class"; groups="happs"; }; 51 - happs_data = { type="darcs"; url=http://happs.org/repos/HAppS-Data; groups="happs"; }; 52 - happs_util = { type="darcs"; url=http://happs.org/repos/HAppS-Util; groups="happs"; }; 53 - happs_state = { type="darcs"; url=http://happs.org/repos/HAppS-State; groups="happs"; }; 54 - happs_plugins = { type="darcs"; url=http://happs.org/repos/HAppS-Plugins; groups="happs"; }; 55 - happs_ixset = { type="darcs"; url=http://happs.org/repos/HAppS-IxSet; groups="happs"; }; 56 - happs_server = { type="darcs"; url=http://happs.org/repos/HAppS-Server; groups="happs"; }; 57 - happs_hsp = { type="darcs"; url="http://code.haskell.org/HSP/happs-hsp"; groups="happs haskell hsp"; }; 58 - happs_hsp_template = { type="darcs"; url="http://code.haskell.org/HSP/happs-hsp-template"; groups="happs haskell hsp"; }; 59 - # haskell_src_exts_metaquote = { type="darcs"; url=http://code.haskell.org/~morrow/code/haskell/haskell-src-exts-metaquote; groups="happs haskell hsp"; }; 60 - haskell_src_exts = { type="darcs"; url=http://code.haskell.org/HSP/haskell-src-exts/; groups="happs haskell hsp"; }; 61 - 62 - hsp = { type="darcs"; url="http://code.haskell.org/HSP/hsp"; groups="happs haskell hsp"; }; 63 - hsp_xml = { type="darcs"; url="http://code.haskell.org/HSP/hsp-xml"; groups="happs haskell hsp"; }; 64 - hspCgi = { type="darcs"; url="http://code.haskell.org/HSP/hsp-cgi"; groups="happs haskell hsp"; }; 65 - hjscript = { type="darcs"; url="http://code.haskell.org/HSP/hjscript"; groups="happs haskell hsp"; }; 66 - hjquery = { type="darcs"; url="http://code.haskell.org/HSP/hjquery"; groups="happs haskell hsp"; }; 67 - hjavascript = { type="darcs"; url="http://code.haskell.org/HSP/hjavascript"; groups="happs haskell hsp"; }; 68 - takusen = { type="darcs"; url=http://darcs.haskell.org/takusen/; }; 69 - cabal = { type="darcs"; url=http://darcs.haskell.org/cabal; }; 70 - haxml = { type="darcs"; url=http://www.cs.york.ac.uk/fp/darcs/HaXml; groups = "pg_haskell"; }; 71 - storableVector = { type="darcs"; url=http://darcs.haskell.org/storablevector/; groups = "haskell"; }; 72 - 73 - kdepimlibs = { type="svn"; url="svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepimlibs"; groups = "kde"; }; 74 - kdebase = { type="svn"; url="svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase"; groups = "kde"; }; 75 - 76 - cinelerra = { type="git"; url="git://git.cinelerra.org/j6t/cinelerra.git"; }; 77 - ctags = { type = "svn"; url = "https://ctags.svn.sourceforge.net/svnroot/ctags/trunk"; }; 78 - autofs = { type="git"; url="http://ftp.riken.go.jp/Linux/kernel.org/scm/linux/storage/autofs/autofs.git"; }; 79 - 80 - # git repositories 81 - hypertable = { type="git"; url="git://scm.hypertable.org/pub/repos/hypertable.git"; groups=""; }; 82 - 83 - getOptions = { type="darcs"; url="http://repetae.net/john/repos/GetOptions"; groups=""; }; 84 - ghc_syb = { type = "git"; url = "git://github.com/nominolo/ghc-syb.git"; groups="haskell scien"; }; 85 - 86 - libCSS = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libcss"; groups = "netsurf_group"; }; 87 - netsurf = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/netsurf"; groups = "netsurf_group"; }; 88 - libwapcaplet = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libwapcaplet"; groups = "netsurf_group"; }; 89 - libsvgtiny = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libsvgtiny"; groups = "netsurf_group"; }; 90 - libdom = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/dom"; groups = "netsurf_group"; }; 91 - netsurf_haru = { type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libharu"; groups = "netsurf_group"; }; 92 - 93 - # haxe 94 - haxe = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "haxe"; groups = "haxe_group"; }; 95 - haxe_swflib = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/swflib"; groups = "haxe_group"; }; 96 - haxe_extc = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extc"; groups = "haxe_group"; }; 97 - haxe_extlib_dev = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extlib-dev"; groups = "haxe_group"; }; 98 - haxe_xml_light = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/xml-light"; groups = "haxe_group"; }; 99 - haxe_neko_include = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko/libs/include/ocaml"; groups = "haxe_group"; }; 100 - 101 - neko = { type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko"; }; 102 - 103 - 104 - } // kde4support // getConfig [ "bleedingEdgeRepos" "repos" ] {}; 105 - }
+3 -3
pkgs/development/tools/build-managers/cmake/default.nix
··· 1 1 {fetchurl, stdenv, replace, ncurses}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "cmake-2.6.4"; 4 + name = "cmake-2.8.0"; 5 5 6 6 # We look for cmake modules in .../share/cmake-${majorVersion}/Modules. 7 - majorVersion = "2.6"; 7 + majorVersion = "2.8"; 8 8 9 9 setupHook = ./setup-hook.sh; 10 10 ··· 15 15 16 16 src = fetchurl { 17 17 url = "http://www.cmake.org/files/v${majorVersion}/${name}.tar.gz"; 18 - sha256 = "1wpxr5x4aggaqrqzjq3kg4hh09f0vyr1njik1pad01bvwd923pcw"; 18 + sha256 = "0va7kxczqb920n61xnyhr99ajs4v05mssk4n0p6z55yvr9g62zc4"; 19 19 }; 20 20 21 21 patches = [ ./findqt4.patch ];
+3
pkgs/development/tools/build-managers/cmake/setup-hook.sh
··· 39 39 cmakeFlags="-DCMAKE_CXX_COMPILER=$crossConfig-g++ -DCMAKE_C_COMPILER=$crossConfig-gcc $cmakeFlags" 40 40 fi 41 41 42 + # Avoid cmake resetting the rpath of binaries, on make install 43 + cmakeFlags="-DCMAKE_SKIP_BUILD_RPATH=ON $cmakeFlags" 44 + 42 45 echo "cmake flags: $cmakeFlags ${cmakeFlagsArray[@]}" 43 46 44 47 cmake ${cmakeDir:-.} $cmakeFlags ${cmakeFlagsArray[@]}
+7 -5
pkgs/development/tools/misc/automake/automake-1.10.x.nix
··· 1 1 {stdenv, fetchurl, perl, autoconf, makeWrapper, doCheck ? false}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "automake-1.10.2"; 4 + name = "automake-1.10.3"; 5 5 6 6 builder = ./builder.sh; 7 - 7 + 8 8 setupHook = ./setup-hook.sh; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnu/automake/${name}.tar.bz2"; 12 - sha256 = "03v4gsvi71nhqvnxxbhkrksdg5icrn8yda021852njfragzck2n3"; 12 + sha256 = "1p0sgv8zl6ah6vwpqf7jkrjr3cw8ydpmnbi0ljb1dhrrp0xv92p9"; 13 13 }; 14 14 15 15 buildInputs = [perl autoconf makeWrapper]; ··· 19 19 # Disable indented log output from Make, otherwise "make.test" will 20 20 # fail. 21 21 preCheck = "unset NIX_INDENT_MAKE"; 22 - 22 + 23 23 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the 24 24 # "fixed" path in generated files! 25 25 dontPatchShebangs = true; 26 - 26 + 27 27 meta = { 28 28 homepage = http://www.gnu.org/software/automake/; 29 29 description = "GNU Automake, a GNU standard-compliant makefile generator"; ··· 35 35 ''; 36 36 37 37 license = "GPLv2+"; 38 + 39 + maintainers = [ stdenv.lib.maintainers.ludo ]; 38 40 }; 39 41 }
+7 -5
pkgs/development/tools/misc/automake/automake-1.11.x.nix
··· 1 1 {stdenv, fetchurl, perl, autoconf, makeWrapper, doCheck ? true}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "automake-1.11"; 4 + name = "automake-1.11.1"; 5 5 6 6 builder = ./builder.sh; 7 - 7 + 8 8 setupHook = ./setup-hook.sh; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnu/automake/${name}.tar.bz2"; 12 - sha256 = "1h5a821z4i3dbgqg67igvbxcwn487kkkkx83q0m00n9mw9xz5ai9"; 12 + sha256 = "1bn7jl11wbkyy4ivgja92zkyjj8w3agwp2xnf7g8f7qa1qy9s5av"; 13 13 }; 14 14 15 15 buildInputs = [perl autoconf makeWrapper]; ··· 19 19 # Disable indented log output from Make, otherwise "make.test" will 20 20 # fail. 21 21 preCheck = "unset NIX_INDENT_MAKE"; 22 - 22 + 23 23 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the 24 24 # "fixed" path in generated files! 25 25 dontPatchShebangs = true; 26 - 26 + 27 27 meta = { 28 28 homepage = http://www.gnu.org/software/automake/; 29 29 description = "GNU Automake, a GNU standard-compliant makefile generator"; ··· 35 35 ''; 36 36 37 37 license = "GPLv2+"; 38 + 39 + maintainers = [ stdenv.lib.maintainers.ludo ]; 38 40 }; 39 41 }
+54
pkgs/development/tools/misc/coccinelle/default.nix
··· 1 + { fetchurl, stdenv, ocaml, perl, python, ncurses, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "coccinelle-0.1.11rc1"; 5 + 6 + src = fetchurl { 7 + url = "http://coccinelle.lip6.fr/distrib/${name}.tgz"; 8 + sha256 = "1rdsv3qcl6zcx3d3zd4cl9d79hdgaw19llxbflkfxipvkg3vk59x"; 9 + }; 10 + 11 + buildInputs = [ ocaml perl python ncurses makeWrapper ]; 12 + 13 + preConfigure = 14 + '' sed -i "configure" -e's|/usr/bin/perl|${perl}/bin/perl|g' 15 + sed -i "globals/config.ml.in" \ 16 + -e"s|/usr/local/share|$out/share|g" 17 + ''; 18 + 19 + buildPhase = "make depend && make all"; 20 + 21 + # Most of the test suite seems to fail (?!). 22 + doCheck = false; 23 + checkPhase = "make test"; 24 + 25 + postInstall = 26 + '' wrapProgram "$out/bin/spatch" \ 27 + --prefix "LD_LIBRARY_PATH" ":" "$out/lib" \ 28 + --prefix "PYTHONPATH" ":" "$out/share/coccinelle/python" 29 + ''; 30 + 31 + meta = { 32 + description = "Coccinelle, a program to apply C code semantic patches"; 33 + 34 + longDescription = 35 + '' Coccinelle is a program matching and transformation engine which 36 + provides the language SmPL (Semantic Patch Language) for specifying 37 + desired matches and transformations in C code. Coccinelle was 38 + initially targeted towards performing collateral evolutions in 39 + Linux. Such evolutions comprise the changes that are needed in 40 + client code in response to evolutions in library APIs, and may 41 + include modifications such as renaming a function, adding a function 42 + argument whose value is somehow context-dependent, and reorganizing 43 + a data structure. Beyond collateral evolutions, Coccinelle is 44 + successfully used (by us and others) for finding and fixing bugs in 45 + systems code. 46 + ''; 47 + 48 + homepage = http://coccinelle.lip6.fr/; 49 + license = "GPLv2"; 50 + 51 + maintainers = [ stdenv.lib.maintainers.ludo ]; 52 + platforms = stdenv.lib.platforms.gnu; # arbitrary choice 53 + }; 54 + }
+8 -4
pkgs/development/tools/misc/cscope/default.nix
··· 1 - { fetchurl, stdenv, ncurses, pkgconfig, emacs }: 1 + { fetchurl, stdenv, ncurses, pkgconfig, emacs}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "cscope-15.6"; 4 + name = "cscope-15.7a"; 5 5 6 6 src = fetchurl { 7 - url = "mirror://sourceforge/cscope/${name}.tar.gz"; 8 - sha256 = "1jn5r9xhys7dlhxxiwffx9wrxlaf9i9ffh6dw516w79a83pn2r3d"; 7 + url = "mirror://sourceforge/cscope/${name}.tar.bz2"; 8 + sha256 = "0dv0r66x31y2xxvad54x0wal8yb1krwbx3gjc82qpg4hlz5qnqq2"; 9 9 }; 10 10 11 11 preConfigure = '' ··· 45 45 license = "BSD-style"; 46 46 47 47 homepage = http://cscope.sourceforge.net/; 48 + 49 + maintainers = with stdenv.lib.maintainers; [viric]; 50 + 51 + platforms = with stdenv.lib.platforms; linux; 48 52 }; 49 53 }
+5 -2
pkgs/development/tools/misc/ctags/default.nix
··· 1 - {stdenv, fetchurl, bleedingEdgeRepos, automake, autoconf}: 1 + {stdenv, fetchurl, sourceFromHead, automake, autoconf}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ctags-svn"; 5 - src = bleedingEdgeRepos.sourceByName "ctags"; 5 + # REGION AUTO UPDATE: { name="ctags"; type = "svn"; url = "https://ctags.svn.sourceforge.net/svnroot/ctags/trunk"; } 6 + src= sourceFromHead "ctags-749.tar.gz" 7 + (fetchurl { url = "http://mawercer.de/~nix/repos/ctags-749.tar.gz"; sha256 = "01dd4bf2e55dbedc38def81febef60eece912cb7624df1c0a2cf1ed6e4bc4ecf"; }); 8 + # END 6 9 7 10 preConfigure = '' 8 11 autoheader
-26
pkgs/development/tools/misc/hsc2hs/default.nix
··· 1 - #TODO write a function (abstraction) 2 - args: with args; 3 - args.stdenv.mkDerivation { 4 - name = "hsc2hs-darcs"; 5 - 6 - src = bleedingEdgeRepos.sourceByName "hsc2hs"; 7 - 8 - phases = "unpackPhase buildPhase"; 9 - 10 - buildPhase = '' 11 - ghc --make Setup.*hs -o setup 12 - ensureDir \out 13 - nix_ghc_pkg_tool join local-pkg-db 14 - ./setup configure --prefix=$out --package-db=local-pkg-db 15 - ./setup build 16 - ./setup install 17 - ''; 18 - 19 - buildInputs = (with args; [ghc] ++ libs); 20 - 21 - meta = { 22 - description = "automate some parts of the process of writing Haskell bindings to C code"; 23 - homepage = http://www.flapjax-lang.org/; 24 - license = "BSD3"; 25 - }; 26 - }
-326
pkgs/misc/bleeding-edge-fetch-infos.nix
··· 1 - { # Warning, this file is updated automatically by nix-repository-manager 2 - # which will add or replace exsiting attribute sets only 3 - # new items will be added before the last line, 4 lines will be removed when 4 - # replacing always, matched by "name =" 5 - 6 - cabal = args: with args; fetchurl { # Thu Aug 21 09:07:56 UTC 2008 7 - url = http://mawercer.de/~nix/repos/cabal.tar.gz; 8 - sha256 = "2c370636ef30593325b1c01eed37eb0e993923acb6387724d97a5eed51b00887"; 9 - }; 10 - getOptions = args: with args; fetchurl { # Thu Jul 9 23:31:53 CEST 2009 11 - url = "http://mawercer.de/~nix/repos/getOptions-nrmtag1.tar.gz"; 12 - sha256 = "5ec39b43a58a507ed3652bc53d57d9b785a6fbb72a8824b951590e076c704589"; 13 - }; 14 - ghc_lambdavm = args: with args; fetchurl { 15 - url = http://mawercer.de/~nix/repos/ghc_lambdavm.tar.gz; 16 - sha256 = "3d10e839b8226987383e870258ff38b56442ff254688f7c50983850676f992cb"; 17 - }; 18 - git = args: with args; fetchurl { # Tue Jan 20 22:28:04 UTC 2009 19 - url = "http://mawercer.de/~nix/repos/git-a227bce65f3fcdfbf28f109809b7e2e518b906f8.tar.gz"; 20 - sha256 = "7420a385718c7edec956fb0cba1a8a11d4b45edc833d7c06bf7c4764188ce180"; 21 - }; 22 - happs_data = args: with args; fetchurl { 23 - url = http://mawercer.de/~nix/repos/happs_data.tar.gz; 24 - sha256 = "084c5a3ddb8393fd41679ad7e87e6057b3434556b3508e062175edbcd8fb1cac"; 25 - }; 26 - happs_hsp = args: with args; fetchurl { 27 - url = http://mawercer.de/~nix/repos/happs_hsp.tar.gz; 28 - sha256 = "cc4df8509468ec83e3f448bb1e1fe5cb7e1f2408851861df31f139778e3c8cc8"; 29 - }; 30 - happs_hsp_template = args: with args; fetchurl { 31 - url = http://mawercer.de/~nix/repos/happs_hsp_template.tar.gz; 32 - sha256 = "b41336352ab878c1342c872e82354de1853366ddaf3abeb213ccad073052c9ac"; 33 - }; 34 - happs_ixset = args: with args; fetchurl { 35 - url = http://mawercer.de/~nix/repos/happs_ixset.tar.gz; 36 - sha256 = "c3972895d312256f0b126cead4a425bbf8d310af4ef3040708e64a614488b263"; 37 - }; 38 - happs_plugins = args: with args; fetchurl { 39 - url = http://mawercer.de/~nix/repos/happs_plugins.tar.gz; 40 - sha256 = "0ecb644e0ab07b719c54ffb67185302575feafd9dd747ac16ffc7428521be8e9"; 41 - }; 42 - happs_server = args: with args; fetchurl { 43 - url = http://mawercer.de/~nix/repos/happs_server.tar.gz; 44 - sha256 = "5170e7a1f725809615a90cabac11fbdb3d23b57d6684db3786b24b2de87d6fb5"; 45 - }; 46 - happs_state = args: with args; fetchurl { 47 - url = http://mawercer.de/~nix/repos/happs_state.tar.gz; 48 - sha256 = "29f3e5a857a9eda66cf55257cbd2daf00a9fa5921cadeb90db5b2d8e2aa1ecfd"; 49 - }; 50 - happs_util = args: with args; fetchurl { 51 - url = http://mawercer.de/~nix/repos/happs_util.tar.gz; 52 - sha256 = "799de3edbac7f408ab5f4129702a75926903f9ebc43bf4ae11b5af214d051e43"; 53 - }; 54 - haskellnet = args: with args; fetchurl { 55 - url = http://mawercer.de/~nix/repos/haskellnet.tar.gz; 56 - sha256 = "fde6f79b09d6cfbc6021aed9fa54ed186715a6eaacd4634f07554d4d3777f70d"; 57 - }; 58 - haskell__exts = args: with args; fetchurl { 59 - url = http://mawercer.de/~nix/repos/haskell__exts.tar.gz; 60 - sha256 = "6cb2214ee3a62083325c907e47979b5fdf6809ce0ef2cd400fba0219b3f42090"; 61 - }; 62 - hjavascript = args: with args; fetchurl { 63 - url = http://mawercer.de/~nix/repos/hjavascript.tar.gz; 64 - sha256 = "fcf76a344eda3afca9b87f8e8ae1d343953b1bdda5da062f887a47f7d5a3c0da"; 65 - }; 66 - hjquery = args: with args; fetchurl { 67 - url = http://mawercer.de/~nix/repos/hjquery.tar.gz; 68 - sha256 = "32691467d83acd73f733c695266fbeeb4978ee43f4380d3b3554350bfb7cbb0e"; 69 - }; 70 - hjscript = args: with args; fetchurl { 71 - url = http://mawercer.de/~nix/repos/hjscript.tar.gz; 72 - sha256 = "fba290645b5ada63030143137d653d34ca5874660e8ab31072a76a57933dfce2"; 73 - }; 74 - hsc2hs = args: with args; fetchurl { 75 - url = http://mawercer.de/~nix/repos/hsc2hs.tar.gz; 76 - sha256 = "3179eba85e56f30250793dbb612ffb8ad869e37297a185c2e0fb29134afb73af"; 77 - }; 78 - hsjava = args: with args; fetchurl { 79 - url = http://mawercer.de/~nix/repos/hsjava.tar.gz; 80 - sha256 = "952839e53f63fc43c7c8a760bab97d150c504e148ebdd407be5e642661ed048f"; 81 - }; 82 - hspCgi = args: with args; fetchurl { 83 - url = http://mawercer.de/~nix/repos/hspCgi.tar.gz; 84 - sha256 = "87bd8cb7e3ccad0147c36ce7af0f3089684b739f4149376821e258445b83f7b6"; 85 - }; 86 - hsp = args: with args; fetchurl { 87 - url = http://mawercer.de/~nix/repos/hsp.tar.gz; 88 - sha256 = "bfaf83e5eff20226f9602c7889462f86d176b673b1cf677c280aeabb6dd560a3"; 89 - }; 90 - hsp_xml = args: with args; fetchurl { 91 - url = http://mawercer.de/~nix/repos/hsp_xml.tar.gz; 92 - sha256 = "203efdd5ec3784be0b1580569e56f278e102c2275350934a3b2ee4850b7ee34f"; 93 - }; 94 - hsql = args: with args; fetchurl { 95 - url = http://mawercer.de/~nix/repos/hsql.tar.gz; 96 - sha256 = "9856e6811a4fc78bf55a1c4bb08091075a343995696b7026a0ef0dae91abc99a"; 97 - }; 98 - hsutils = args: with args; fetchurl { 99 - url = http://mawercer.de/~nix/repos/hsutils.tar.gz; 100 - sha256 = "6d1cc9881fb2684016e52d3ab8e6666c5396da168eb298c3a549294668f6aa52"; 101 - }; 102 - http = args: with args; fetchurl { # Thu Aug 21 09:04:57 UTC 2008 103 - url = http://mawercer.de/~nix/repos/http.tar.gz; 104 - sha256 = "3166d17951bd5a052c059e161cd3f44afdb2b6a329c49b645f9cfdccda416d37"; 105 - }; 106 - hypertable = args: with args; fetchurl { 107 - url = http://mawercer.de/~nix/repos/hypertable.tar.gz; 108 - sha256 = "d8a385def778d817415a6dd9d7ce10a60525c3c4a4d4dd8ec3bd8cfd359d2ab4"; 109 - }; 110 - libnih = args: with args; fetchurl { 111 - url = http://mawercer.de/~nix/repos/libnih.tar.gz; 112 - sha256 = "443c7af0363d1fb3b040d1903ff28cbd520c9f32634bff639263b8315b293acc"; 113 - }; 114 - mkcabal = args: with args; fetchurl { 115 - url = http://mawercer.de/~nix/repos/mkcabal.tar.gz; 116 - sha256 = "9f231756c36b46d29516ed327a320837194799a76de4833dc6a5c88e5ccd1658"; 117 - }; 118 - nix_repository_manager = args: with args; fetchurl { # Sun Sep 6 16:46:13 CEST 2009 119 - url = "http://mawercer.de/~nix/repos/nix_repository_manager-nrmtag6.tar.gz"; 120 - sha256 = "6c5daa1b320ada16ce7e8c2279ab3a27726e23fa3c1115f8c0bbd64ff806c7b7"; 121 - }; 122 - plugins = args: with args; fetchurl { 123 - url = http://mawercer.de/~nix/repos/plugins.tar.gz; 124 - sha256 = "33206e33258b64fbb077291cd1f5f20629c6129c5541c177e51074a3082f59fa"; 125 - }; 126 - syb_with_class = args: with args; fetchurl { 127 - url = http://mawercer.de/~nix/repos/syb_with_class.tar.gz; 128 - sha256 = "f67c979bb980e69856f26f89b9bdcb5cf962e4db0b1fb859f53928c2d6b45f5b"; 129 - }; 130 - synergy = args: with args; fetchurl { # Mon Mar 30 10:08:36 CEST 2009 131 - url = "http://mawercer.de/~nix/repos/synergy-F_10-08-35.tar.gz"; 132 - sha256 = "764b88b69f342017094380f62099f4a0dfdcddb6a289abb6b646f7ac2f37d675"; 133 - }; 134 - takusen = args: with args; fetchurl { 135 - url = http://mawercer.de/~nix/repos/takusen.tar.gz; 136 - sha256 = "35f3dbededae1a8d3bf648b229cbaf983907ff762b80674a65505f13c44147df"; 137 - }; 138 - upstart = args: with args; fetchurl { 139 - url = http://mawercer.de/~nix/repos/upstart.tar.gz; 140 - sha256 = "3243857ce4e0cd0d6fe28dbdcaa294b5590befed79b54a306b40cb5c65b381db"; 141 - }; 142 - haxml = args: with args; fetchurl { # Wed Aug 20 23:33:52 UTC 2008 143 - url = http://mawercer.de/~nix/repos/haxml.tar.gz; 144 - sha256 = "71ab127d11c06781fa62e76eda12fe979227c89e767961740222ab2f3a912cbe"; 145 - }; 146 - haskell_src_exts = args: with args; fetchurl { 147 - url = http://mawercer.de/~nix/repos/haskell_src_exts.tar.gz; 148 - sha256 = "6cb2214ee3a62083325c907e47979b5fdf6809ce0ef2cd400fba0219b3f42090"; 149 - }; 150 - storableVector = args: with args; fetchurl { 151 - url = http://mawercer.de/~nix/repos/storableVector.tar.gz; 152 - sha256 = "ce7ac7973e12ff92ceb371b95fc74430c7870f0fc27ae02fad4792b1643653b6"; 153 - }; 154 - kdesupport_akode = args: with args; fetchurl { # Wed Aug 13 15:09:07 UTC 2008 155 - url = http://mawercer.de/~nix/repos/kdesupport_akode.tar.gz; 156 - sha256 = "9fb2a363c3331fe67cc3bddcc430df30f8f1b9869ec7673fb97ecb18313ef710"; 157 - }; 158 - kdesupport_eigen = args: with args; fetchurl { # Wed Aug 13 15:28:37 UTC 2008 159 - url = http://mawercer.de/~nix/repos/kdesupport_eigen.tar.gz; 160 - sha256 = "25854580e5fcb222e6463cf02802e5160ca0e037d9f86bee4b5edf22d8161607"; 161 - }; 162 - kdesupport_gmm = args: with args; fetchurl { # Wed Aug 13 15:09:46 UTC 2008 163 - url = http://mawercer.de/~nix/repos/kdesupport_gmm.tar.gz; 164 - sha256 = "70faafe70e0eac747f6ffa47cebd537c6bda7509739d634a0c49cb85bc797668"; 165 - }; 166 - kdesupport_qca = args: with args; fetchurl { # Wed Aug 13 15:10:38 UTC 2008 167 - url = http://mawercer.de/~nix/repos/kdesupport_qca.tar.gz; 168 - sha256 = "ca0d8c0ffdec7b81a3d3574e8d16fd423f8a42a9793ecd8d2997671a48c8d62b"; 169 - }; 170 - kdesupport_qimageblitz = args: with args; fetchurl { # Wed Aug 13 14:55:54 UTC 2008 171 - url = http://mawercer.de/~nix/repos/kdesupport_qimageblitz.tar.gz; 172 - sha256 = "25e31db3fdd73f97dda82a071031b766ecbacf583924ed1d8af7418bf408204d"; 173 - }; 174 - kdesupport_soprano = args: with args; fetchurl { # Wed Aug 13 14:59:54 UTC 2008 175 - url = http://mawercer.de/~nix/repos/kdesupport_soprano.tar.gz; 176 - sha256 = "4a3a6ff41d29b7efb1fe9b80db232579f76cc683b18a95f45d6f2bda9bb25800"; 177 - }; 178 - kdesupport_strigi = args: with args; fetchurl { # Wed Aug 13 15:00:49 UTC 2008 179 - url = http://mawercer.de/~nix/repos/kdesupport_strigi.tar.gz; 180 - sha256 = "77ff3345a49ffdcc57f3fca48c20b751967a18db9d0ee3922dca7c20ff2f400f"; 181 - }; 182 - kdesupport_taglib = args: with args; fetchurl { # Wed Aug 13 15:01:45 UTC 2008 183 - url = http://mawercer.de/~nix/repos/kdesupport_taglib.tar.gz; 184 - sha256 = "ae6c92e2ed40bec330f764d7549e7d200477ba1e3126dba41539225b3a9ad13a"; 185 - }; 186 - kdesupport_akonadi = args: with args; fetchurl { # Wed Aug 13 15:11:30 UTC 2008 187 - url = http://mawercer.de/~nix/repos/kdesupport_akonadi.tar.gz; 188 - sha256 = "a845ed8e82e9545de9ac2a086e510d0ad81efccd068a677a928c25f5f6481ece"; 189 - }; 190 - kdesupport_automoc = args: with args; fetchurl { # Wed Aug 13 15:28:25 UTC 2008 191 - url = http://mawercer.de/~nix/repos/kdesupport_automoc.tar.gz; 192 - sha256 = "b40161ec6dd1ef040a488a6926bd75d54b0230025b03df9fde8fd2207882aae7"; 193 - }; 194 - kdesupport_cpptoxml = args: with args; fetchurl { # Wed Aug 13 15:11:49 UTC 2008 195 - url = http://mawercer.de/~nix/repos/kdesupport_cpptoxml.tar.gz; 196 - sha256 = "8c4909dc0f57a337d07d3d3d365baeecd021f41705a2998ba6d3ff8d992b6a09"; 197 - }; 198 - kdesupport_decibel = args: with args; fetchurl { # Wed Aug 13 15:12:09 UTC 2008 199 - url = http://mawercer.de/~nix/repos/kdesupport_decibel.tar.gz; 200 - sha256 = "76f98fb2f020ec5ba2f8017c54e0db392a8f660e1d9ddb20f6125f5feab1caff"; 201 - }; 202 - kdesupport_emerge = args: with args; fetchurl { # Wed Aug 13 15:12:30 UTC 2008 203 - url = http://mawercer.de/~nix/repos/kdesupport_emerge.tar.gz; 204 - sha256 = "acfce47b2cbb3b7af864ec8dd7df664d2cb8b4cbf6484e91adc912562422bfa6"; 205 - }; 206 - kdesupport_phonon = args: with args; fetchurl { # Wed Aug 13 15:13:48 UTC 2008 207 - url = http://mawercer.de/~nix/repos/kdesupport_phonon.tar.gz; 208 - sha256 = "36e8fc19ab376991cd820143994900c976b5a3d4905923eee56d8b153083bdd2"; 209 - }; 210 - kdesupport_tapioca_qt = args: with args; fetchurl { # Wed Aug 13 15:13:50 UTC 2008 211 - url = http://mawercer.de/~nix/repos/kdesupport_tapioca_qt.tar.gz; 212 - sha256 = "9d313cdd685c6532b6052adc63a51a89a10aae5c5648d71e93e3d4eed8af8c0f"; 213 - }; 214 - kdesupport_telepathy_qt = args: with args; fetchurl { # Wed Aug 13 15:13:52 UTC 2008 215 - url = http://mawercer.de/~nix/repos/kdesupport_telepathy_qt.tar.gz; 216 - sha256 = "022599182ff629662bbd01acdea6ead9aec64b3e73e8da3eb58ef857803035f2"; 217 - }; 218 - cinelerra = args: with args; fetchurl { # Tue Oct 14 12:36:49 UTC 2008 219 - url = "http://mawercer.de/~nix/repos/cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"; 220 - sha256 = "1e84ff59dcd7a3c80343eb9be302f822e510c95398fd1a6c8f2e4b163fd51e45"; 221 - }; 222 - hg2git = args: with args; fetchurl { # Tue Jan 20 22:49:27 UTC 2009 223 - url = "http://mawercer.de/~nix/repos/hg2git-0fabb998a19c850cb8fcfcf72414b18070d94378.tar.gz"; 224 - sha256 = "ce7cd089681e6eee24f5bc9ab3b73f1e49d368b83a32d00695eadca00533ac5d"; 225 - }; 226 - octave = args: with args; fetchurl { # Mon Dec 1 23:23:49 UTC 2008 227 - url = "http://mawercer.de/~nix/repos/octave-03b414516dd8.tar.gz"; 228 - sha256 = "28ca0be1407954e746909241bda95c5bf0a04f611e73100c1e3967ddc249c519"; 229 - }; 230 - zsh = args: with args; fetchurl { # Sun Dec 21 12:50:24 UTC 2008 231 - url = "http://mawercer.de/~nix/repos/zsh-2008-12-21_12-50-23.tar.gz"; 232 - sha256 = "9af16f89205759d7ade51268dbdfa02cec3db10b35dc7a56ffe8e1fde2074ae7"; 233 - }; 234 - topGit = args: with args; fetchurl { # Sat Sep 26 02:02:43 CEST 2009 235 - url = "http://mawercer.de/~nix/repos/topGit-f59e4f9e87e5f485fdaee0af002edd2105fa298a.tar.gz"; 236 - sha256 = "04e3c5e60570f414c1d2ee9ed64b80362b1958ebbac7d5c235cce17e9a339c94"; 237 - }; 238 - qgit = args: with args; fetchurl { # Tue Jan 20 21:35:00 UTC 2009 239 - url = "http://mawercer.de/~nix/repos/qgit-b5dd5fd691e9423124cf356abe26e641bc33d159.tar.gz"; 240 - sha256 = "e04de308feb40716a6b02d1f69dc834f4fa859865b64e8f91beb6018fa953f96"; 241 - }; 242 - autofs = args: with args; fetchurl { # Thu Apr 30 04:42:28 CEST 2009 243 - url = "http://mawercer.de/~nix/repos/autofs-9a77464b8a661d33a6205756955e0047727d5c1f.tar.gz"; 244 - sha256 = "0260817c5deb87210a4cea340d0ef0f35577ef14f37bd7da05a2f08be385ac2f"; 245 - }; 246 - ctags = args: with args; fetchurl { # Thu May 7 20:12:55 CEST 2009 247 - url = "http://mawercer.de/~nix/repos/ctags-703.tar.gz"; 248 - sha256 = "3f897b303f446aa8b52832d2aef280d359979bb2cd8768a2e70b6475adc64d61"; 249 - }; 250 - sqlalchemy05 = args: with args; fetchurl { # Fri Jun 26 00:00:40 CEST 2009 251 - url = "http://mawercer.de/~nix/repos/sqlalchemy05-6076.tar.gz"; 252 - sha256 = "7baad2cda5a61bcbc4093a6026727d69bc7bd7c0399e25e479eaa2e2000f69b1"; 253 - }; 254 - sqlalchemyMigrate = args: with args; fetchurl { # Fri Jun 26 00:22:43 CEST 2009 255 - url = "http://mawercer.de/~nix/repos/sqlalchemyMigrate-569.tar.gz"; 256 - sha256 = "7775d9bf7e25a8270ac112d9b1d916a36691a73beb9a87a6473d005d3ee0f0bf"; 257 - }; 258 - ghc_syb = args: with args; fetchurl { # Thu Jul 9 23:41:34 CEST 2009 259 - url = "http://mawercer.de/~nix/repos/ghc_syb-876b121e73f1b5ca4b17b0c6908b27ba7efb0374.tar.gz"; 260 - sha256 = "325a19962e90dc5fb07845d2ac4df6e332061cda4b8950b95bcb782706ed3e31"; 261 - }; 262 - pywebcvs = args: with args; fetchurl { # Wed Aug 12 15:00:25 CEST 2009 263 - url = "http://mawercer.de/~nix/repos/pywebcvs-1493.tar.gz"; 264 - sha256 = "4183b18f48738cf607ef29baae75f7edec46504d1fb31bdedfbc897dcadbe599"; 265 - }; 266 - MPlayer = args: with args; fetchurl { # Sun Sep 6 16:46:45 CEST 2009 267 - url = "http://mawercer.de/~nix/repos/MPlayer-29652.tar.gz"; 268 - sha256 = "c202a43041d753b78777c3bb22a60068626b8a8aaf59f1d2cd054844a7c8546b"; 269 - }; 270 - netsurf = args: with args; fetchurl { # Tue Oct 27 17:37:11 CET 2009 271 - url = "http://mawercer.de/~nix/repos/netsurf-9654.tar.gz"; 272 - sha256 = "cf0cf1d6283e331174b5377cf0e458756987b99a8264807c567cc06ece501880"; 273 - }; 274 - libCSS = args: with args; fetchurl { # Tue Oct 27 17:35:11 CET 2009 275 - url = "http://mawercer.de/~nix/repos/libCSS-9654.tar.gz"; 276 - sha256 = "a9ee85fcbba00543a634037f793f16ba1b8f02535fbfa6c2dfed074309ccc7a6"; 277 - }; 278 - libwapcaplet = args: with args; fetchurl { # Tue Oct 27 17:37:04 CET 2009 279 - url = "http://mawercer.de/~nix/repos/libwapcaplet-9654.tar.gz"; 280 - sha256 = "471c13e0e5ac58c27e17261116401c3aba7760d3012ac878fe90a1c6cb5b3383"; 281 - }; 282 - libsvgtiny = args: with args; fetchurl { # Tue Oct 27 17:36:54 CET 2009 283 - url = "http://mawercer.de/~nix/repos/libsvgtiny-9654.tar.gz"; 284 - sha256 = "250a1e1f7d53b3d211910edadf478147ae52c4c136a7763fb8df54cd7a296c2b"; 285 - }; 286 - libdom = args: with args; fetchurl { # Tue Oct 27 17:35:49 CET 2009 287 - url = "http://mawercer.de/~nix/repos/libdom-9654.tar.gz"; 288 - sha256 = "31a002dcb68550d061c343eda146dd8578fc33121ee6f3a3c0920faaa28ee26e"; 289 - }; 290 - netsurf_haru = args: with args; fetchurl { # Tue Oct 27 17:38:50 CET 2009 291 - url = "http://mawercer.de/~nix/repos/netsurf_haru-9654.tar.gz"; 292 - sha256 = "ca8fcdcbcb1e4007742d2214adf2eaa49829e988b6d9f0fe74108ca18e487d3b"; 293 - }; 294 - git_fast_export = args: with args; fetchurl { # Mon Oct 26 07:16:34 CET 2009 295 - url = "http://mawercer.de/~nix/repos/git_fast_export-1464dabbff7fe42b9069e98869db40276d295ad6.tar.gz"; 296 - sha256 = "4d99bf7eefe86dd3305fc5ce27581830fc7dfe10f66ff5c5da054f737704b0bd"; 297 - }; 298 - haxe = args: with args; fetchurl { # Fri Nov 27 00:39:37 CET 2009 299 - url = "http://mawercer.de/~nix/repos/haxe-F_00-39-37.tar.gz"; 300 - sha256 = "7c5f275568b1a5ce7b672bfad232696004e5b6607f3767bbfe8c32880d6583b1"; 301 - }; 302 - haxe_extc = args: with args; fetchurl { # Fri Nov 27 00:39:38 CET 2009 303 - url = "http://mawercer.de/~nix/repos/haxe_extc-F_00-39-38.tar.gz"; 304 - sha256 = "78800c67ecc328fd5358ebdbf561189f40125238f3f35045eb8b5416e77fc115"; 305 - }; 306 - haxe_extlib_dev = args: with args; fetchurl { # Fri Nov 27 00:39:39 CET 2009 307 - url = "http://mawercer.de/~nix/repos/haxe_extlib_dev-F_00-39-39.tar.gz"; 308 - sha256 = "383044c91d39585e960c416b9c2eeaaa3f89613171662cb78dcb75fe6fe918b7"; 309 - }; 310 - haxe_neko_include = args: with args; fetchurl { # Fri Nov 27 00:39:40 CET 2009 311 - url = "http://mawercer.de/~nix/repos/haxe_neko_include-F_00-39-40.tar.gz"; 312 - sha256 = "efbb4ce93d01a649b2d32e46c4a0e1fb016d104a136cd428b8cc1704b4ab3dc7"; 313 - }; 314 - haxe_swflib = args: with args; fetchurl { # Fri Nov 27 00:39:45 CET 2009 315 - url = "http://mawercer.de/~nix/repos/haxe_swflib-F_00-39-45.tar.gz"; 316 - sha256 = "05ae9c8006b2ffac91794c13db7189b5f21687a4afe0d1358fd3681be18705ba"; 317 - }; 318 - haxe_xml_light = args: with args; fetchurl { # Fri Nov 27 00:39:46 CET 2009 319 - url = "http://mawercer.de/~nix/repos/haxe_xml_light-F_00-39-46.tar.gz"; 320 - sha256 = "b23004c09d5e76b76de5a1938333c1aaccf059ebe62ad25728a267df79069a43"; 321 - }; 322 - neko = args: with args; fetchurl { # Fri Nov 27 18:37:43 CET 2009 323 - url = "http://mawercer.de/~nix/repos/neko-F_18-37-40.tar.gz"; 324 - sha256 = "eac9c6144872d741c31a1c15539672b001977e877f30f01b9649f69b4df1d97c"; 325 - }; 326 - }
+6 -1
pkgs/misc/lilypond/default.nix
··· 4 4 stdenv.mkDerivation { 5 5 name = "lilypond-2.13.3"; 6 6 7 - #src = sourceByName "lilypond"; 7 + /* 8 + # REGION AUTO UPDATE: { name="lilypond"; type = "git"; url = "git://git.sv.gnu.org/lilypond.git"; } 9 + src= sourceFromHead "lilypond-7d065cae414aac445a40c0c6646c3baf6f358cb3.tar.gz" 10 + (throw "source not not published yet: lilypond"); 11 + # END 8 12 #preConfigure = "./autogen.sh"; 13 + */ 9 14 10 15 src = fetchurl { 11 16 url = http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.3.tar.gz;
+11 -3
pkgs/misc/source-and-tags/default.nix
··· 24 24 TAG_FILE="$SRC_DEST/${a.name}$tagSuffix" 25 25 echo running tag cmd "${a.tagCmd}" in `pwd` 26 26 ${a.tagCmd} 27 - TAG_FILES="$TAG_FILES\''${TAG_FILES:+:}$TAG_FILE" 27 + TAG_FILES="$TAG_FILES''${TAG_FILES:+:}$TAG_FILE" 28 28 '') createTagFiles ); 29 29 in '' 30 30 SRC_DEST=$out/src/$name 31 31 ensureDir $SRC_DEST 32 + pwd; ls 32 33 cp -r $srcDir $SRC_DEST 33 34 cd $SRC_DEST 34 35 ${createTags} 35 36 36 37 ensureDir $out/nix-support 37 - echo "TAG_FILES=\"\$TAG_FILES\\''${TAG_FILES:+:}$TAG_FILES\"" >> $out/nix-support/setup-hook 38 + echo "TAG_FILES=\"\$TAG_FILES\''${TAG_FILES:+:}$TAG_FILES\"" >> $out/nix-support/setup-hook 38 39 ''; 39 40 }; 40 41 # example usage ··· 51 52 createTagFiles = [ 52 53 { name = "${deriv.name}_haskell"; 53 54 # tagCmd = "${toString ghcsAndLibs.ghc68.ghc}/bin/hasktags --ignore-close-implementation --ctags `find . -type f -name \"*.*hs\"`; sort tags > \$TAG_FILE"; } 54 - tagCmd = "${toString hasktags}/bin/hasktags-modified --ignore-close-implementation --ctags `find . -type f -name \"*.*hs\"`; sort tags > \$TAG_FILE"; } 55 + # *.*hs.* to catch gtk2hs .hs.pp files 56 + tagCmd = " 57 + srcs=\"`find . -type f -name \"*.*hs\"; find . -type f -name \"*.*hs.*\";`\" 58 + [ -z \"$srcs\" ] || { 59 + ${toString hasktags}/bin/hasktags-modified --ignore-close-implementation --ctags $srcs 60 + sort tags > \$TAG_FILE 61 + }"; 62 + } 55 63 ]; 56 64 }; 57 65 };
+4 -1
pkgs/os-specific/linux/autofs/autofs-v5.nix
··· 8 8 9 9 # It's too tiresome to apply all patches which are availible (see previous rev). 10 10 # Using git repo which seems to be the same anyway.. 11 - src = bleedingEdgeRepos.sourceByName "autofs"; 11 + # REGION AUTO UPDATE: { name="autofs"; type="git"; url="http://ftp.riken.go.jp/Linux/kernel.org/scm/linux/storage/autofs/autofs.git"; } 12 + src = sourceFromHead "autofs-9a77464b8a661d33a6205756955e0047727d5c1f.tar.gz" 13 + (fetchurl { url = "http://mawercer.de/~nix/repos/autofs-9a77464b8a661d33a6205756955e0047727d5c1f.tar.gz"; sha256 = "405c769b87f8ec2116faaca021ae03bb69d0a996cd574493b4eede34cb587061"; }); 14 + # END 12 15 /*fetchurl { 13 16 url = "${baseURL}/autofs-5.0.4.tar.bz2"; 14 17 sha256 = "06ysv24jwhwvl8vbafy4jxcg9ps1iq5nrz2nyfm6c761rniy27v3";
+2
pkgs/tools/cd-dvd/cdrkit/default.nix
··· 10 10 11 11 buildInputs = [cmake libcap zlib bzip2]; 12 12 13 + patches = [ ./include-path.patch ]; 14 + 13 15 postInstall = '' 14 16 # file name compatibility with the old cdrecord (growisofs wants this name) 15 17 ln -s $out/bin/genisoimage $out/bin/mkisofs
+9
pkgs/tools/cd-dvd/cdrkit/include-path.patch
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 57edba6..d06b6d9 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -1,3 +1,4 @@ 6 + PROJECT (cdrkit C) 7 + +INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/include) 8 + SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit) 9 +
-78
pkgs/tools/package-management/nix-repository-manager/default.nix
··· 1 - {lib, bleedingEdgeRepos, writeText, ghcReal, getConfig, stdenv, writeScriptBin }: 2 - 3 - /* usage 4 - see pkgs/development/misc/bleeding-edge-repos/default.nix [1] 5 - and pkgs/misc/bleeding-edge-fetch-infos.nix 6 - 7 - Either add repository definitions which can be used by sourceByName "foo" 8 - to [1] or config.nix. Example: 9 - 10 - bleedingEdgeRepos = { 11 - useLocalRepos = true; # prefer local dist file if availible 12 - 13 - repos = { 14 - # the attr names are equal to the repo IDs [2] 15 - getOptions = { type="darcs"; url="http://repetae.net/john/repos/GetOptions"; }; 16 - nobug = { type = "git"; url="git://git.pipapo.org/nobug"; }; 17 - anyterm = { type = "svn"; url="http://svn.anyterm.org/anyterm/tags/releases/1.1/1.1.25/"; }; 18 - gnash = { type = "cvs"; cvsRoot=":pserver:anonymous@cvs.sv.gnu.org:/sources/gnash"; module="gnash"; }; 19 - octave = { type = "hg"; url="http://www.octave.org/hg/octave"; groups="octave_group"; }; 20 - }; 21 - }; 22 - 23 - 24 - to fetch / update the repository given by ID [2] use: 25 - $ run-nix-repository-manager-with-config [$PATH_TO_NIXPKGS] --update ID 26 - This will also calculate the current hash of the dist file which will be 27 - saved to $PATH_TO_NIXPKGS/pkgs/misc/bleeding-edge-fetch-infos.nix. 28 - 29 - Distribute the dist file which is stored in ~/managed_repos/dist using 30 - $ run-nix-repository-manager-with-config --publish ID 31 - this will upload the file to my server. Contact MarcWeber to get login data. 32 - It should be easy to add multiple mirror locations instead (?) 33 - 34 - You can add groups="xorg"; as seen above to update / distribute all 35 - packages belonging to that group. 36 - */ 37 - 38 - let 39 - inherit (builtins) getAttr attrNames; 40 - inherit (lib) concatStringsSep mapAttrsFlatten; 41 - toConfigLine = name : set : 42 - "[(\"name\",\"${name}\")," + ( concatStringsSep "," (map (a: "(\"${a}\",\"${getAttr a set}\")" ) (attrNames set)))+"]"; 43 - config = writeText "nix-repository-manager_config" 44 - (bleedingEdgeRepos.managedRepoDir+"\n" + 45 - concatStringsSep "\n" (mapAttrsFlatten toConfigLine (bleedingEdgeRepos.repos))); 46 - 47 - cfg = getConfig ["nixRepositoryManager" ] {}; 48 - 49 - provideSource = if (builtins.hasAttr "sourcefile" cfg) then 50 - "cp ${cfg.sourcefile} source.hs " 51 - else '' 52 - src="${bleedingEdgeRepos.sourceByName "nix_repository_manager"}" 53 - unpackPhase 54 - mv nix_repsoitory_manager_tmp_dir/nix-repository-manager.hs source.hs 55 - ''; 56 - 57 - nixRepositoryManager = stdenv.mkDerivation { 58 - name = "nix-repository-manager"; 59 - 60 - phases="buildPhase"; 61 - buildPhase = '' 62 - ${provideSource} 63 - ensureDir $out/bin 64 - ghc --make source.hs -o $out/bin/nix-repository-manager 65 - ''; 66 - 67 - buildInputs = [ ghcReal ]; 68 - 69 - meta = { 70 - description = "makes it easy to keep some packages up to date"; 71 - license = "GPL"; 72 - }; 73 - }; 74 - in writeScriptBin "run-nix-repository-manager-with-config" 75 - '' 76 - #!/bin/sh 77 - exec ${nixRepositoryManager}/bin/nix-repository-manager ${config} $@ 78 - ''
+5
pkgs/tools/video/mjpegtools/default.nix
··· 7 7 sha256 = "1xvgqzdb2rw6j4ss65k4hrzrbsl74p7k5l4qgf5dbfcw522kw7lb"; 8 8 }; 9 9 buildInputs = [libjpeg libX11]; 10 + patches = [ ( fetchurl { 11 + url = "http://bugs.gentoo.org/attachment.cgi?id=145622"; 12 + sha256 = "0c3bdrkr0qsrd3jybzz84z9gs4bq90rvxg87ffw08149v5qjz7a1"; 13 + name = "patch.patch"; 14 + } ) ]; # from gentoo. Don't know why it broke. Make it compile again. 10 15 }
+51 -37
pkgs/top-level/all-packages.nix
··· 1807 1807 }); 1808 1808 1809 1809 gcc44 = useFromStdenv "gcc" gcc44_real; 1810 + gcc44_wrapper2 = wrapGCC2 gcc44.gcc; 1810 1811 1811 1812 gcc43 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.3) { 1812 1813 inherit stdenv fetchurl texinfo gmp mpfr noSysDirs; ··· 1947 1948 1948 1949 #ghc = haskellPackages.ghc; 1949 1950 1951 + /* 1950 1952 ghc642Binary = lowPrio (import ../development/compilers/ghc/6.4.2-binary.nix { 1951 1953 inherit fetchurl stdenv ncurses gmp; 1952 - readline = if stdenv.system == "i686-linux" then readline4 else readline; 1954 + readline = if stdenv.system == "i686-linux" then readline4 else readline5; 1953 1955 perl = perl58; 1954 1956 }); 1957 + */ 1955 1958 1956 1959 ghc6101Binary = lowPrio (import ../development/compilers/ghc/6.10.1-binary.nix { 1957 1960 inherit fetchurl stdenv perl ncurses gmp libedit; ··· 1966 1969 1967 1970 haskellPackages = haskellPackages_ghc6104; 1968 1971 1972 + /* 1969 1973 haskellPackages_ghc642 = import ./haskell-packages.nix { 1970 1974 inherit pkgs; 1971 1975 ghc = import ../development/compilers/ghc/6.4.2.nix { ··· 1985 1989 haskellPackages_ghc682 = import ./haskell-packages.nix { 1986 1990 inherit pkgs; 1987 1991 ghc = import ../development/compilers/ghc/6.8.2.nix { 1988 - inherit fetchurl stdenv readline perl gmp ncurses m4; 1992 + inherit fetchurl stdenv perl gmp ncurses m4; 1993 + readline = readline5; 1989 1994 ghc = ghc642Binary; 1990 1995 }; 1991 1996 }; ··· 2004 2009 }; 2005 2010 }; 2006 2011 }); 2012 + */ 2007 2013 2008 2014 haskellPackages_ghc6101 = import ./haskell-packages.nix { 2009 2015 inherit pkgs; ··· 2055 2061 }; 2056 2062 2057 2063 haxe = import ../development/compilers/haxe { 2058 - inherit fetchurl stdenv lib ocaml zlib makeWrapper; 2059 - inherit (bleedingEdgeRepos) sourceByName; 2064 + inherit fetchurl sourceFromHead stdenv lib ocaml zlib makeWrapper; 2060 2065 }; 2061 2066 2062 2067 falcon = builderDefsPackage (import ../development/interpreters/falcon) { ··· 2166 2171 }; 2167 2172 2168 2173 neko = import ../development/compilers/neko { 2169 - inherit (bleedingEdgeRepos) sourceByName ; 2170 - inherit fetchurl stdenv lib pkgconfig composableDerivation boehmgc apacheHttpd 2171 - mysql zlib sqlite pcre apr makeWrapper; 2174 + inherit sourceFromHead fetchurl stdenv lib pkgconfig composableDerivation 2175 + boehmgc apacheHttpd mysql zlib sqlite pcre apr makeWrapper; 2172 2176 inherit (gtkLibs) gtk; 2173 2177 }; 2174 2178 ··· 2279 2283 }; 2280 2284 2281 2285 wrapGCC = wrapGCCWith (import ../build-support/gcc-wrapper) glibc; 2286 + wrapGCC2 = wrapGCCWith (import ../build-support/gcc-wrapper2) glibc; 2282 2287 2283 2288 wrapGCCCross = 2284 2289 {gcc, libc, binutils, cross, shell ? "", name ? "gcc-cross-wrapper"}: ··· 2376 2381 2377 2382 # mercurial (hg) bleeding edge version 2378 2383 octaveHG = import ../development/interpreters/octave/hg.nix { 2379 - inherit fetchurl readline ncurses perl flex atlas getConfig glibc qhull gfortran; 2384 + inherit fetchurl sourceFromHead readline ncurses perl flex atlas getConfig glibc qhull gfortran; 2380 2385 inherit automake autoconf bison gperf lib python gnuplot texinfo texLive; # for dev Version 2381 2386 inherit stdenv; 2382 2387 inherit (xlibs) libX11; 2383 2388 #stdenv = overrideGCC stdenv gcc40; 2384 - inherit (bleedingEdgeRepos) sourceByName; 2385 2389 }; 2386 2390 2387 2391 perl58 = import ../development/interpreters/perl-5.8 { ··· 2419 2423 libXt; 2420 2424 }; 2421 2425 2426 + polyml = import ../development/compilers/polyml { 2427 + inherit stdenv fetchurl; 2428 + }; 2429 + 2422 2430 python = if getConfig ["python" "full"] false then pythonFull else pythonBase; 2423 2431 python25 = if getConfig ["python" "full"] false then python25Full else python25Base; 2424 2432 pythonBase = python25Base; ··· 2560 2568 }; 2561 2569 */ 2562 2570 2563 - bleedingEdgeRepos = import ../development/misc/bleeding-edge-repos { 2564 - inherit getConfig fetchurl lib; 2571 + sourceFromHead = import ../build-support/source-from-head-fun.nix { 2572 + inherit getConfig; 2565 2573 }; 2566 2574 2567 2575 ecj = import ../development/eclipse/ecj { ··· 2709 2717 }; 2710 2718 2711 2719 ctags = import ../development/tools/misc/ctags { 2712 - inherit fetchurl stdenv bleedingEdgeRepos automake autoconf; 2720 + inherit fetchurl sourceFromHead stdenv automake autoconf; 2713 2721 }; 2714 2722 2715 2723 ctagsWrapped = import ../development/tools/misc/ctags/wrapped.nix { ··· 2720 2728 inherit fetchurl stdenv replace ncurses; 2721 2729 }; 2722 2730 2731 + coccinelle = import ../development/tools/misc/coccinelle { 2732 + inherit fetchurl stdenv perl python ocaml ncurses makeWrapper; 2733 + }; 2734 + 2723 2735 cproto = import ../development/tools/misc/cproto { 2724 2736 inherit fetchurl stdenv flex bison; 2725 2737 }; ··· 2837 2849 inherit fetchurl stdenv pkgconfig; 2838 2850 inherit (gtkLibs) gtk; 2839 2851 }; 2840 - 2841 - /* 2842 - hsc2hs = import ../development/tools/misc/hsc2hs { 2843 - inherit bleedingEdgeRepos stdenv; 2844 - ghc = ghcsAndLibs.ghc68.ghc; 2845 - libs = with (ghc68extraLibs ghcsAndLibs.ghc68 // ghcsAndLibs.ghc68.core_libs); [ base directory process cabal_darcs ]; 2846 - }; 2847 - */ 2848 2852 2849 2853 guileLint = import ../development/tools/guile/guile-lint { 2850 2854 inherit fetchurl stdenv guile; ··· 4353 4357 }; 4354 4358 4355 4359 openal = import ../development/libraries/openal { 4356 - inherit fetchurl stdenv cmake alsaLib; 4360 + inherit fetchurl cmake alsaLib; 4361 + stdenv = overrideGCC stdenv gcc43_wrapper2; 4357 4362 }; 4358 4363 4359 4364 # added because I hope that it has been easier to compile on x86 (for blender) ··· 5268 5273 ### OS-SPECIFIC 5269 5274 5270 5275 autofs5 = import ../os-specific/linux/autofs/autofs-v5.nix { 5271 - inherit bleedingEdgeRepos fetchurl stdenv flex bison kernelHeaders; 5276 + inherit sourceFromHead fetchurl stdenv flex bison kernelHeaders; 5272 5277 }; 5273 5278 5274 5279 _915resolution = import ../os-specific/linux/915resolution { ··· 6382 6387 }; 6383 6388 6384 6389 autopanosiftc = import ../applications/graphics/autopanosiftc { 6385 - inherit fetchurl stdenv cmake libpng libtiff libjpeg panotools libxml2; 6390 + inherit fetchurl cmake libpng libtiff libjpeg panotools libxml2; 6391 + stdenv = overrideGCC stdenv gcc43_wrapper2; 6386 6392 }; 6387 6393 6388 6394 avidemux = import ../applications/video/avidemux { 6389 - inherit fetchurl stdenv cmake pkgconfig libxml2 qt4 gettext SDL libxslt x264 6395 + inherit fetchurl cmake pkgconfig libxml2 qt4 gettext SDL libxslt x264 6390 6396 alsaLib lame faac faad2 libvorbis; 6397 + stdenv = overrideGCC stdenv gcc43_wrapper2; 6391 6398 inherit (gtkLibs) gtk; 6392 6399 inherit (xlibs) libXv pixman libpthreadstubs libXau libXdmcp; 6393 6400 }; ··· 6408 6415 beast = import ../applications/audio/beast { 6409 6416 # stdenv = overrideGCC stdenv gcc34; 6410 6417 inherit stdenv fetchurl zlib guile pkgconfig intltool libogg libvorbis python libxml2 bash perl gettext; 6411 - inherit (bleedingEdgeRepos) sourceByName; 6412 6418 inherit (gtkLibs) gtk glib; 6413 6419 inherit (gnome) libgnomecanvas libart_lgpl; 6414 6420 inherit automake autoconf; ··· 6509 6515 6510 6516 6511 6517 cinelerra = import ../applications/video/cinelerra { 6512 - inherit fetchurl stdenv 6518 + inherit lib fetchurl sourceFromHead stdenv 6513 6519 automake autoconf libtool 6514 6520 a52dec alsaLib lame libavc1394 libiec61883 libraw1394 libsndfile 6515 6521 libvorbis libogg libjpeg libtiff freetype mjpegtools x264 ··· 6517 6523 pkgconfig; 6518 6524 openexr = openexr_1_6_1; 6519 6525 fftw = fftwSinglePrec; 6520 - inherit (xorg) libXxf86vm libXv; 6521 - inherit (bleedingEdgeRepos) sourceByName; 6526 + inherit (xorg) libXxf86vm libXv libXi libX11 xextproto; 6522 6527 inherit (gnome) esound; 6523 6528 }; 6524 6529 ··· 6774 6779 inherit fetchurl stdenv; 6775 6780 }; 6776 6781 6782 + proofgeneral = import ../applications/editors/emacs-modes/proofgeneral { 6783 + inherit stdenv fetchurl emacs perl; 6784 + }; 6785 + 6777 6786 quack = import ../applications/editors/emacs-modes/quack { 6778 6787 inherit fetchurl stdenv emacs; 6779 6788 }; ··· 6916 6925 }; 6917 6926 6918 6927 freepv = import ../applications/graphics/freepv { 6919 - inherit fetchurl stdenv mesa freeglut libjpeg zlib cmake libxml2 libpng; 6928 + inherit fetchurl mesa freeglut libjpeg zlib cmake libxml2 libpng; 6929 + stdenv = overrideGCC stdenv gcc43_wrapper2; 6920 6930 inherit (xlibs) libX11 libXxf86vm; 6921 6931 }; 6922 6932 ··· 7066 7076 }; 7067 7077 7068 7078 hugin = import ../applications/graphics/hugin { 7069 - inherit stdenv fetchurl cmake panotools libtiff libpng boost pkgconfig 7079 + inherit fetchurl cmake panotools libtiff libpng boost pkgconfig 7070 7080 exiv2 gettext ilmbase enblendenfuse autopanosiftc; 7071 7081 inherit wxGTK; 7072 7082 openexr = openexr_1_6_1; 7083 + stdenv = overrideGCC stdenv gcc43_wrapper2; 7073 7084 }; 7074 7085 7075 7086 i810switch = import ../applications/misc/i810 { ··· 7344 7355 }; 7345 7356 7346 7357 MPlayerTrunk = import ../applications/video/MPlayer/trunk.nix { 7347 - inherit (bleedingEdgeRepos) sourceByName; 7348 - inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav 7349 - cdparanoia mesa pkgconfig jackaudio; 7358 + inherit fetchurl sourceFromHead stdenv freetype x11 zlib libtheora libcaca 7359 + freefont_ttf libdvdnav cdparanoia mesa pkgconfig jackaudio; 7350 7360 inherit (xlibs) libX11 libXv libXinerama libXrandr; 7351 7361 alsaSupport = true; 7352 7362 alsa = alsaLib; ··· 7433 7443 }; 7434 7444 7435 7445 paraview = import ../applications/graphics/paraview { 7436 - inherit fetchurl stdenv cmake qt4; 7446 + inherit fetchurl cmake qt4; 7447 + stdenv = overrideGCC stdenv gcc43_wrapper2; 7437 7448 }; 7438 7449 7439 7450 partitionManager = import ../tools/misc/partition-manager { ··· 7634 7645 7635 7646 # linux only by now 7636 7647 synergy = import ../applications/misc/synergy { 7637 - inherit fetchurl bleedingEdgeRepos stdenv x11; 7648 + inherit fetchurl sourceFromHead stdenv x11; 7638 7649 inherit (xlibs) xextproto libXtst inputproto libXi; 7639 7650 }; 7640 7651 ··· 8319 8330 camlp5 = camlp5_transitional; 8320 8331 }; 8321 8332 8333 + isabelle = import ../applications/science/logic/isabelle { 8334 + inherit (pkgs) stdenv fetchurl nettools perl polyml emacs emacsPackages; 8335 + }; 8336 + 8322 8337 ssreflect = import ../applications/science/logic/ssreflect { 8323 8338 inherit stdenv fetchurl ocaml coq; 8324 8339 camlp5 = camlp5_transitional; ··· 8466 8481 }; 8467 8482 8468 8483 lilypond = import ../misc/lilypond { 8469 - inherit (bleedingEdgeRepos) sourceByName; 8470 - inherit fetchurl stdenv lib automake autoconf 8484 + inherit fetchurl sourceFromHead stdenv lib automake autoconf 8471 8485 ghostscript texinfo imagemagick texi2html guile python gettext 8472 8486 perl bison pkgconfig texLive fontconfig freetype fontforge help2man; 8473 8487 inherit (gtkLibs) pango;
+8 -7
pkgs/top-level/haskell-packages.nix
··· 4 4 5 5 rec { 6 6 7 + # ==> You're looking for a package but can't find it? Get hack-nix. 8 + # -> http://github.com/MarcWeber/hack-nix. Read its README file. 9 + # You can install (almost) all packages from hackage easily. 10 + 7 11 inherit ghcReal; 8 12 9 13 # In the remainder, `ghc' refers to the wrapper. This is because ··· 129 133 }; 130 134 131 135 getOptions = import ../development/libraries/haskell/get-options { 132 - inherit cabal mtl; inherit (pkgs.bleedingEdgeRepos) sourceByName; 136 + inherit (pkgs) fetchurl sourceFromHead; 137 + inherit cabal mtl; 133 138 }; 134 139 135 140 ghcCore = import ../development/libraries/haskell/ghc-core { ··· 141 146 }; 142 147 143 148 ghcSyb = import ../development/libraries/haskell/ghc-syb { 144 - inherit cabal syb; inherit (pkgs.bleedingEdgeRepos) sourceByName; 149 + inherit (pkgs) fetchurl sourceFromHead; 150 + inherit cabal syb; 145 151 }; 146 152 147 153 gitit = import ../development/libraries/haskell/gitit { ··· 742 748 myhasktags = import ../tools/misc/myhasktags { 743 749 inherit ghcReal; 744 750 inherit (pkgs) stdenv fetchurl; 745 - }; 746 - 747 - nixRepositoryManager = import ../tools/package-management/nix-repository-manager { 748 - inherit (pkgs) stdenv lib writeText writeScriptBin getConfig bleedingEdgeRepos ; 749 - inherit ghcReal; 750 751 }; 751 752 752 753 # Games.