From b64890665803ebb4c1e0b3280ff0983e15441472 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 14 Oct 2011 22:04:10 +0000 Subject: [PATCH 01/17] haskell-packages.nix: use blanks instead of tabs svn path=/nixpkgs/trunk/; revision=29850 --- pkgs/top-level/haskell-packages.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index f42761c93cb5..aae148078556 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -194,7 +194,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); haskellPlatform = self.haskellPlatform_2011_2_0_1; mtl1 = self.mtl_1_1_1_1; text = self.text_0_11_1_5; - repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u + repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u }; haskellPlatform_2011_2_0_1 = @@ -236,7 +236,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); self : self.haskellPlatformArgs_2011_2_0_0 self // { haskellPlatform = self.haskellPlatform_2011_2_0_0; mtl1 = self.mtl_1_1_1_1; - repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u + repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u }; haskellPlatform_2011_2_0_0 = @@ -274,7 +274,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); haskellPlatformDefaults_2010_2_0_0 = self : self.haskellPlatformArgs_2010_2_0_0 self // { haskellPlatform = self.haskellPlatform_2010_2_0_0; - repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u + repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u }; haskellPlatform_2010_2_0_0 = @@ -311,7 +311,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); self : self.haskellPlatformArgs_2010_1_0_0 self // { haskellPlatform = self.haskellPlatform_2010_1_0_0; extensibleExceptions = self.extensibleExceptions_0_1_1_0; - repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u + repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u }; haskellPlatform_2010_1_0_0 = @@ -349,7 +349,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); self : self.haskellPlatformArgs_2009_2_0_2 self // { haskellPlatform = self.haskellPlatform_2009_2_0_2; extensibleExceptions = self.extensibleExceptions_0_1_1_0; - repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u + repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u }; haskellPlatform_2009_2_0_2 = From 21099834774d0cc2aaffe5727b3f1bec17a41c28 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sat, 15 Oct 2011 13:32:05 +0000 Subject: [PATCH 02/17] Fix comment svn path=/nixpkgs/trunk/; revision=29852 --- pkgs/desktops/kde-4.7/kde-package/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/kde-4.7/kde-package/default.nix b/pkgs/desktops/kde-4.7/kde-package/default.nix index f725c2f7bb10..38713de5820a 100644 --- a/pkgs/desktops/kde-4.7/kde-package/default.nix +++ b/pkgs/desktops/kde-4.7/kde-package/default.nix @@ -33,7 +33,8 @@ rec { enableParallelBuilding = true; } // (removeAttrs a [ "meta" "name" ])); - # kdeMonoPkg wrapper for modules splitted upstream. Used in TODO + # kdeMonoPkg wrapper for modules splitted upstream compatible with combinePkgs + # API. kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name; # Build subdirectory ${subdir} of tarball ${module}-${release}.tar.bz2 From 7bb3f9173171cb4abb00cbeebe8b71922d47ad6f Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Sat, 15 Oct 2011 14:46:05 +0000 Subject: [PATCH 03/17] updating dwarf-fortress svn path=/nixpkgs/trunk/; revision=29853 --- pkgs/games/dwarf-fortress/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix index b08a70a39821..f12caaae53f7 100644 --- a/pkgs/games/dwarf-fortress/default.nix +++ b/pkgs/games/dwarf-fortress/default.nix @@ -3,11 +3,11 @@ assert stdenv.system == "i686-linux"; stdenv.mkDerivation rec { - name = "dwarf-fortress-0.31.16"; + name = "dwarf-fortress-0.31.25"; src = fetchurl { - url = "http://www.bay12games.com/dwarves/df_31_16_linux.tar.bz2"; - sha256 = "04pyxyigrrclbpxdx3wryisgy5xraz0s7rsxr2kp4i136479f2r4"; + url = "http://www.bay12games.com/dwarves/df_31_25_linux.tar.bz2"; + sha256 = "0d3klvf5n99j38pdhx9mak78px65aw47smck82jb92la97drmcg3"; }; phases = "unpackPhase patchPhase installPhase"; From 9188489caff9074c93cd982ed5fc72c9052385a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 15 Oct 2011 16:34:26 +0000 Subject: [PATCH 04/17] Guile: Disable more GC-sensitive tests when using `-O0'. svn path=/nixpkgs/trunk/; revision=29854 --- .../guile/disable-gc-sensitive-tests.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/interpreters/guile/disable-gc-sensitive-tests.patch b/pkgs/development/interpreters/guile/disable-gc-sensitive-tests.patch index 8a43e58f5f58..076091a702a2 100644 --- a/pkgs/development/interpreters/guile/disable-gc-sensitive-tests.patch +++ b/pkgs/development/interpreters/guile/disable-gc-sensitive-tests.patch @@ -3,6 +3,16 @@ compiling with `-O0' (as is done with coverage analysis) since there may be many false references held on the stack, leading to the failure of such tests. +--- a/test-suite/tests/gc.test ++++ b/test-suite/tests/gc.test +@@ -67,6 +67,7 @@ + + (with-test-prefix "gc" + (pass-if "Unused modules are removed" ++ (throw 'unresolved) + (let* ((guard (make-guardian)) + (total 1000)) + --- a/test-suite/tests/threads.test +++ b/test-suite/tests/threads.test @@ -366,6 +366,7 @@ From 549bd62221bd51bf9515ed169e1d651dd9bf0031 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Sun, 16 Oct 2011 12:36:37 +0000 Subject: [PATCH 05/17] Adding the virtualenv package, for creating isolated dev environments svn path=/nixpkgs/trunk/; revision=29857 --- pkgs/top-level/python-packages.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 828f88aac445..ec71f7c881a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1963,6 +1963,22 @@ let pythonPackages = python.modules // rec { }; }; + virtualenv = buildPythonPackage rec { + name = "virtualenv-1.6.4"; + src = fetchurl { + url = "http://pypi.python.org/packages/source/v/virtualenv/${name}.tar.gz"; + md5 = "1072b66d53c24e019a8f1304ac9d9fc5"; + }; + + doCheck = false; + + meta = with stdenv.lib; { + description = "a tool to create isolated Python environments"; + homepage = http://www.virtualenv.org; + license = licenses.mit; + maintainers = [ maintainers.goibhniu ]; + }; + }; vnc2flv = buildPythonPackage rec { name = "vnc2flv-20100207"; From 13e76321f08bd6c5e3ba31ab16939e74fd8e040e Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Sun, 16 Oct 2011 12:46:47 +0000 Subject: [PATCH 06/17] Updating IPython (python shell) to 0.11 svn path=/nixpkgs/trunk/; revision=29858 --- pkgs/shells/ipython/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/shells/ipython/default.nix b/pkgs/shells/ipython/default.nix index 2c029b764b04..8e430df52904 100644 --- a/pkgs/shells/ipython/default.nix +++ b/pkgs/shells/ipython/default.nix @@ -1,15 +1,15 @@ { stdenv, fetchurl, buildPythonPackage, pythonPackages }: -buildPythonPackage { - name = "ipython-0.10.1"; +buildPythonPackage rec { + name = "ipython-0.11"; namePrefix = ""; src = fetchurl { - url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz"; - sha256 = "18zwrg25zn72w4rmcwxzcw11ibgp001fawm2sz189zv86z70fxi2"; + url = "http://pypi.python.org/packages/source/i/ipython/${name}.tar.gz"; + md5 = "efc899e752a4a4a67a99575cea1719ef"; }; - propagatedBuildInputs = [ pythonPackages.readline ]; + propagatedBuildInputs = [ pythonPackages.readline pythonPackages.sqlite3 ]; doCheck = false; From 8f13b206cf0d206bf40728adf6b0445dc8ed5dcc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 16 Oct 2011 18:22:30 +0000 Subject: [PATCH 07/17] haskell-haskell-src-meta: updated to version 0.5.0.2 svn path=/nixpkgs/trunk/; revision=29859 --- .../libraries/haskell/haskell-src-meta/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/haskell-src-meta/default.nix b/pkgs/development/libraries/haskell/haskell-src-meta/default.nix index fd16c1151f20..5271176a5cfd 100644 --- a/pkgs/development/libraries/haskell/haskell-src-meta/default.nix +++ b/pkgs/development/libraries/haskell/haskell-src-meta/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "haskell-src-meta"; - version = "0.5"; - sha256 = "0403j2ks2as61rfl049v4h43xpgx06bm739y80vada6jc85rfinr"; + version = "0.5.0.2"; + sha256 = "059zvr91bnajql19c76vwivvy6sbca83ky8ja91bf8xv1p3jfz3w"; buildDepends = [ haskellSrcExts syb thLift ]; meta = { description = "Parse source to template-haskell abstract syntax"; From aa49225df1b17ea2689554abf5702e3bd790dcd3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 16 Oct 2011 18:22:36 +0000 Subject: [PATCH 08/17] haskell-snap-core: updated to version 0.5.5 svn path=/nixpkgs/trunk/; revision=29860 --- .../libraries/haskell/snap/core.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/haskell/snap/core.nix b/pkgs/development/libraries/haskell/snap/core.nix index 5baa0c9d82b5..ceb18b666f9d 100644 --- a/pkgs/development/libraries/haskell/snap/core.nix +++ b/pkgs/development/libraries/haskell/snap/core.nix @@ -1,18 +1,19 @@ { cabal, attoparsec, attoparsecEnumerator, blazeBuilder -, bytestringMmap, bytestringNums, caseInsensitive, deepseq, dlist -, enumerator, MonadCatchIOTransformers, mtl, text, time -, transformers, unixCompat, vector, zlib +, blazeBuilderEnumerator, bytestringMmap, bytestringNums +, caseInsensitive, deepseq, dlist, enumerator +, MonadCatchIOTransformers, mtl, text, time, transformers +, unixCompat, vector, zlibEnum }: cabal.mkDerivation (self: { pname = "snap-core"; - version = "0.5.4"; - sha256 = "0v6lsb60s3w96rqpp9ky8nd660zja8asw02vx1562nvd19k65jbb"; + version = "0.5.5"; + sha256 = "1md9n3f11ki87774fh3p7d6bykfdwcqz6b2yrjci4mwf1b1xppkj"; buildDepends = [ - attoparsec attoparsecEnumerator blazeBuilder bytestringMmap - bytestringNums caseInsensitive deepseq dlist enumerator - MonadCatchIOTransformers mtl text time transformers unixCompat - vector zlib + attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator + bytestringMmap bytestringNums caseInsensitive deepseq dlist + enumerator MonadCatchIOTransformers mtl text time transformers + unixCompat vector zlibEnum ]; meta = { homepage = "http://snapframework.com/"; From be3cf6fe6cdb9e71c81ae94deccef9c62f99e821 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 16 Oct 2011 18:22:42 +0000 Subject: [PATCH 09/17] haskell-snap-server: updated to version 0.5.5 svn path=/nixpkgs/trunk/; revision=29861 --- pkgs/development/libraries/haskell/snap/server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/snap/server.nix b/pkgs/development/libraries/haskell/snap/server.nix index c2c1fcddbf16..838097064e79 100644 --- a/pkgs/development/libraries/haskell/snap/server.nix +++ b/pkgs/development/libraries/haskell/snap/server.nix @@ -7,8 +7,8 @@ cabal.mkDerivation (self: { pname = "snap-server"; - version = "0.5.4"; - sha256 = "1kzhmn8pg2lzpqz6319lcy5lk27jcl7jlxq96x1bhnxss8k0idix"; + version = "0.5.5"; + sha256 = "10b4y5sfgr1bxs48b78nv6hs68v6qhg008rj9qnwwdp8lxgl4hi8"; buildDepends = [ attoparsec attoparsecEnumerator binary blazeBuilder blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree From 8d424305f51a2c5b90e3d893cb3d0fa396fb0f79 Mon Sep 17 00:00:00 2001 From: Marco Maggesi Date: Mon, 17 Oct 2011 08:36:07 +0000 Subject: [PATCH 10/17] Update Io to version 2011.09.12. svn path=/nixpkgs/trunk/; revision=29862 --- pkgs/development/interpreters/io/default.nix | 70 ++++++-------------- pkgs/top-level/all-packages.nix | 6 +- 2 files changed, 23 insertions(+), 53 deletions(-) diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix index b3427caea595..bfa73eb8744c 100644 --- a/pkgs/development/interpreters/io/default.nix +++ b/pkgs/development/interpreters/io/default.nix @@ -1,57 +1,31 @@ -args : -let - lib = args.lib; - fetchurl = args.fetchurl; - fullDepEntry = args.fullDepEntry; - doPatchShebangs = args.doPatchShebangs; +{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses, + freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2, + freeglut, e2fsprogs, libsamplerate, pcre, libevent, libedit, yajl, + python, openssl, glfw +}: - version = lib.attrByPath ["version"] "2008.03.30" args; - buildInputs = with args; [ - zlib sqlite gmp libffi cairo ncurses freetype mesa +stdenv.mkDerivation { + name = "io-2011.09.12"; + src = fetchurl { + url = http://github.com/stevedekorte/io/tarball/2011.09.12; + name = "io-2011.09.12.tar.gz"; + sha256 = "14nhk5vkk74pbf36jsfaxqh2ihi5d7jby79yf1ibbax319xbjk3v"; + }; + + buildInputs = [ + cmake zlib sqlite gmp libffi cairo ncurses freetype mesa libpng libtiff libjpeg readline libsndfile libxml2 - freeglut e2fsprogs libsamplerate pcre libevent libedit + freeglut e2fsprogs libsamplerate pcre libevent libedit yajl ]; -in -rec { - src = /* Here a fetchurl expression goes */ - fetchurl { - url = "http://github.com/stevedekorte/io/tarball/${version}"; - name = "io-${version}.tar.gz"; - sha256 = "1i1hcidcf93145jj1vwwa2jvp8lb25pn2kg0cb56a059narrqxlv"; - }; - inherit buildInputs; - configureFlags = []; + cmakeFlags = [ "-DCMAKE_BUILD_TYPE=release" ]; - makeFlags = ["INSTALL_PREFIX=$out"]; - - /* doConfigure should be specified separately */ - phaseNames = ["preBuild" "doMakeInstall" "postInstall" (doPatchShebangs "$out/share/io/samples") - (doPatchShebangs "$out/lib/io")]; - - preBuild = fullDepEntry ('' - for i in $pkgs ${ - if args.stdenv ? glibc then args.stdenv.glibc else "" - } ${ - if args ? libffi && args.libffi != null then "$(echo ${args.libffi}/lib/*/include/..)" else "" - }; do - echo "Path: $i" - sed -i build/AddonBuilder.io -e '/"\/sw"/asearchPrefixes append("'"$i"'"); ' - sed -i addons/Flux/io/Flux.io -e 's@/usr/local/@'"$out/"'@g' - done - '') ["minInit" "addInputs" "doUnpack"]; - - postInstall = fullDepEntry ('' - ensureDir $out/share/io - - ln -s $out/lib/io/addons $out/share/io - cp -r samples $out/share/io - '') ["minInit" "doUnpack" "defEnsureDir" "doMakeInstall"]; - - name = "io-" + version; meta = { description = "Io programming language"; - maintainers = [lib.maintainers.raskin]; - platforms = lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ + raskin + z77z + ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d33ba31d5c8c..d44c6f7ce93d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2494,11 +2494,7 @@ let guile = guile_2_0; - io = builderDefsPackage (import ../development/interpreters/io) { - inherit sqlite zlib gmp libffi cairo ncurses freetype mesa - libpng libtiff libjpeg readline libsndfile libxml2 - freeglut e2fsprogs libsamplerate pcre libevent libedit; - }; + io = callPackage ../development/interpreters/io { }; j = callPackage ../development/interpreters/j {}; From 71f9ad3fe3b9d08b9daa17b68b805b5483a1e586 Mon Sep 17 00:00:00 2001 From: Marco Maggesi Date: Mon, 17 Oct 2011 10:19:35 +0000 Subject: [PATCH 11/17] Make yajl build on Darwin. svn path=/nixpkgs/trunk/; revision=29863 --- pkgs/development/libraries/yajl/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/yajl/default.nix b/pkgs/development/libraries/yajl/default.nix index cedc9cd5810e..6ba81a4766b4 100644 --- a/pkgs/development/libraries/yajl/default.nix +++ b/pkgs/development/libraries/yajl/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, cmake, ruby}: +{stdenv, fetchurl, cmake, ruby, darwinInstallNameToolUtility}: stdenv.mkDerivation { name = "yajl-2.0.1"; @@ -9,7 +9,8 @@ stdenv.mkDerivation { sha256 = "08a7bgmdpvi6w9f9bxx5f42njwmwzdf6jz3w6ila7jgbl5mhknf2"; }; - buildInputs = [ cmake ruby ]; + buildInputs = [ cmake ruby ] + ++ stdenv.lib.optional stdenv.isDarwin darwinInstallNameToolUtility; meta = { description = "Yet Another JSON Library"; @@ -19,7 +20,7 @@ stdenv.mkDerivation { ''; homepage = http://lloyd.github.com/yajl/; license = stdenv.lib.license.isc; - platforms = stdenv.lib.platforms.linux; + platforms = with stdenv.lib.platforms; [ linux darwin ]; maintainers = with stdenv.lib.maintainers; [ z77z ]; From e726f10554acef785cc396155b8076ec204eaf7c Mon Sep 17 00:00:00 2001 From: Marco Maggesi Date: Mon, 17 Oct 2011 12:57:15 +0000 Subject: [PATCH 12/17] Io does not depend anymore on e2fsprogs svn path=/nixpkgs/trunk/; revision=29864 --- pkgs/development/interpreters/io/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix index bfa73eb8744c..40b1b2ee306e 100644 --- a/pkgs/development/interpreters/io/default.nix +++ b/pkgs/development/interpreters/io/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses, freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2, - freeglut, e2fsprogs, libsamplerate, pcre, libevent, libedit, yajl, + freeglut, libsamplerate, pcre, libevent, libedit, yajl, python, openssl, glfw }: From 17c7829893102c3ddd8d3df8b7ff3118500e0a91 Mon Sep 17 00:00:00 2001 From: Marco Maggesi Date: Mon, 17 Oct 2011 12:59:44 +0000 Subject: [PATCH 13/17] Ooops. svn path=/nixpkgs/trunk/; revision=29865 --- pkgs/development/interpreters/io/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix index 40b1b2ee306e..b5ec30563d00 100644 --- a/pkgs/development/interpreters/io/default.nix +++ b/pkgs/development/interpreters/io/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation { buildInputs = [ cmake zlib sqlite gmp libffi cairo ncurses freetype mesa libpng libtiff libjpeg readline libsndfile libxml2 - freeglut e2fsprogs libsamplerate pcre libevent libedit yajl + freeglut libsamplerate pcre libevent libedit yajl ]; cmakeFlags = [ "-DCMAKE_BUILD_TYPE=release" ]; From 7b478fb0fdce8e3b464675c0d9e44b65fb6aec16 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 17 Oct 2011 17:04:59 +0000 Subject: [PATCH 14/17] haskell-certificate: updated to version 0.9.5 svn path=/nixpkgs/trunk/; revision=29866 --- pkgs/development/libraries/haskell/certificate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/certificate/default.nix b/pkgs/development/libraries/haskell/certificate/default.nix index 94a9e6fb17ae..46e3d078a692 100644 --- a/pkgs/development/libraries/haskell/certificate/default.nix +++ b/pkgs/development/libraries/haskell/certificate/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "certificate"; - version = "0.9.4"; - sha256 = "0apv2paxlp12ksn28bn4lb1mg05cs7sjygfarxacwmz43jy6ld9v"; + version = "0.9.5"; + sha256 = "0nc50x4pqsrm8q6n4xjp79q4dmmglrqd8rbryza8jmcml8fchvbz"; isLibrary = true; isExecutable = true; buildDepends = [ asn1Data base64Bytestring mtl time ]; From 810a7e41981bf99f62de32a0c9aa93609a03ad6c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 17 Oct 2011 17:05:05 +0000 Subject: [PATCH 15/17] haskell-hakyll: updated to version 3.2.0.10 svn path=/nixpkgs/trunk/; revision=29867 --- pkgs/development/libraries/haskell/hakyll/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/hakyll/default.nix b/pkgs/development/libraries/haskell/hakyll/default.nix index ca5cd97269d6..310e872b528a 100644 --- a/pkgs/development/libraries/haskell/hakyll/default.nix +++ b/pkgs/development/libraries/haskell/hakyll/default.nix @@ -4,8 +4,8 @@ cabal.mkDerivation (self: { pname = "hakyll"; - version = "3.2.0.9"; - sha256 = "1gb10bvzlm8qn6ap7cxykscbhbs2jsfqgsw53r8vd8k5bfgm5jv6"; + version = "3.2.0.10"; + sha256 = "1hdivw1smfkxza5jl8gm84gnzb5a9sgc2lcas3hikv968p9c1yry"; buildDepends = [ binary blazeHtml cryptohash hamlet mtl pandoc parsec regexBase regexPcre snapCore snapServer tagsoup time From 924e624aad78fd37b51ed2edf4db0f7b09cb04bd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 17 Oct 2011 17:05:14 +0000 Subject: [PATCH 16/17] haskell-haskeline: updated to version 0.6.4.4 svn path=/nixpkgs/trunk/; revision=29868 --- pkgs/development/libraries/haskell/haskeline/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/haskeline/default.nix b/pkgs/development/libraries/haskell/haskeline/default.nix index 12e1448c0416..63fdc751d8d1 100644 --- a/pkgs/development/libraries/haskell/haskeline/default.nix +++ b/pkgs/development/libraries/haskell/haskeline/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "haskeline"; - version = "0.6.4.3"; - sha256 = "1dlrsazprvn6xcd12k5ln536rv9sljjccrjgpq6jj6b9ziadwiwr"; + version = "0.6.4.4"; + sha256 = "03cnhidnpnz7fh34c7x0rpl15zi6hkh9khganrdhwa59srxzbxqb"; buildDepends = [ extensibleExceptions mtl terminfo utf8String ]; meta = { homepage = "http://trac.haskell.org/haskeline"; From 491c6e43b182a189f27455dcc17e64ca7b7dbd7d Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Mon, 17 Oct 2011 22:18:21 +0000 Subject: [PATCH 17/17] Package for picosat. svn path=/nixpkgs/trunk/; revision=29869 --- .../science/logic/picosat/default.nix | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/applications/science/logic/picosat/default.nix diff --git a/pkgs/applications/science/logic/picosat/default.nix b/pkgs/applications/science/logic/picosat/default.nix new file mode 100644 index 000000000000..5a92c103961c --- /dev/null +++ b/pkgs/applications/science/logic/picosat/default.nix @@ -0,0 +1,41 @@ +{stdenv, fetchurl }: + +let + version = "936"; + pname = "picosat"; + +in + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://fmv.jku.at/picosat/${name}.tar.gz"; + sha256 = "02hq68fmfjs085216wsj13ff6i1rhc652yscl16w9jzpfqzly91n"; + }; + + dontAddPrefix = true; + + # configureFlags = "--shared"; the ./configure file is broken and doesn't accept this parameter :( + patchPhase = '' + sed -e 's/^shared=no/shared=yes/' -i configure + ''; + + installPhase = '' + ensureDir "$out"/bin + cp picomus "$out"/bin + cp picosat "$out"/bin + ensureDir "$out"/lib + cp libpicosat.a "$out"/lib + cp libpicosat.so "$out"/lib + ensureDir "$out"/include/picosat + cp picosat.h "$out"/include/picosat + ''; + + meta = { + homepage = http://fmv.jku.at/picosat/; + description = "SAT solver with proof and core support"; + license = "MIT"; + maintainers = [ stdenv.lib.maintainers.roconnor ]; + }; +}