synchronize with trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=29870
This commit is contained in:
commit
7edf0e8eaf
41
pkgs/applications/science/logic/picosat/default.nix
Normal file
41
pkgs/applications/science/logic/picosat/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -33,7 +33,8 @@ rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
} // (removeAttrs a [ "meta" "name" ]));
|
} // (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;
|
kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name;
|
||||||
|
|
||||||
# Build subdirectory ${subdir} of tarball ${module}-${release}.tar.bz2
|
# Build subdirectory ${subdir} of tarball ${module}-${release}.tar.bz2
|
||||||
|
@ -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
|
be many false references held on the stack, leading to the failure of
|
||||||
such tests.
|
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
|
--- a/test-suite/tests/threads.test
|
||||||
+++ b/test-suite/tests/threads.test
|
+++ b/test-suite/tests/threads.test
|
||||||
@@ -366,6 +366,7 @@
|
@@ -366,6 +366,7 @@
|
||||||
|
@ -1,57 +1,31 @@
|
|||||||
args :
|
{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses,
|
||||||
let
|
freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2,
|
||||||
lib = args.lib;
|
freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
||||||
fetchurl = args.fetchurl;
|
python, openssl, glfw
|
||||||
fullDepEntry = args.fullDepEntry;
|
}:
|
||||||
doPatchShebangs = args.doPatchShebangs;
|
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "2008.03.30" args;
|
stdenv.mkDerivation {
|
||||||
buildInputs = with args; [
|
name = "io-2011.09.12";
|
||||||
zlib sqlite gmp libffi cairo ncurses freetype mesa
|
src = fetchurl {
|
||||||
libpng libtiff libjpeg readline libsndfile libxml2
|
url = http://github.com/stevedekorte/io/tarball/2011.09.12;
|
||||||
freeglut e2fsprogs libsamplerate pcre libevent libedit
|
name = "io-2011.09.12.tar.gz";
|
||||||
];
|
sha256 = "14nhk5vkk74pbf36jsfaxqh2ihi5d7jby79yf1ibbax319xbjk3v";
|
||||||
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;
|
buildInputs = [
|
||||||
configureFlags = [];
|
cmake zlib sqlite gmp libffi cairo ncurses freetype mesa
|
||||||
|
libpng libtiff libjpeg readline libsndfile libxml2
|
||||||
|
freeglut libsamplerate pcre libevent libedit yajl
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = ["INSTALL_PREFIX=$out"];
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=release" ];
|
||||||
|
|
||||||
/* 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 = {
|
meta = {
|
||||||
description = "Io programming language";
|
description = "Io programming language";
|
||||||
maintainers = [lib.maintainers.raskin];
|
maintainers = with stdenv.lib.maintainers; [
|
||||||
platforms = lib.platforms.linux;
|
raskin
|
||||||
|
z77z
|
||||||
|
];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "certificate";
|
pname = "certificate";
|
||||||
version = "0.9.4";
|
version = "0.9.5";
|
||||||
sha256 = "0apv2paxlp12ksn28bn4lb1mg05cs7sjygfarxacwmz43jy6ld9v";
|
sha256 = "0nc50x4pqsrm8q6n4xjp79q4dmmglrqd8rbryza8jmcml8fchvbz";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [ asn1Data base64Bytestring mtl time ];
|
buildDepends = [ asn1Data base64Bytestring mtl time ];
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "hakyll";
|
pname = "hakyll";
|
||||||
version = "3.2.0.9";
|
version = "3.2.0.10";
|
||||||
sha256 = "1gb10bvzlm8qn6ap7cxykscbhbs2jsfqgsw53r8vd8k5bfgm5jv6";
|
sha256 = "1hdivw1smfkxza5jl8gm84gnzb5a9sgc2lcas3hikv968p9c1yry";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
binary blazeHtml cryptohash hamlet mtl pandoc parsec regexBase
|
binary blazeHtml cryptohash hamlet mtl pandoc parsec regexBase
|
||||||
regexPcre snapCore snapServer tagsoup time
|
regexPcre snapCore snapServer tagsoup time
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "haskeline";
|
pname = "haskeline";
|
||||||
version = "0.6.4.3";
|
version = "0.6.4.4";
|
||||||
sha256 = "1dlrsazprvn6xcd12k5ln536rv9sljjccrjgpq6jj6b9ziadwiwr";
|
sha256 = "03cnhidnpnz7fh34c7x0rpl15zi6hkh9khganrdhwa59srxzbxqb";
|
||||||
buildDepends = [ extensibleExceptions mtl terminfo utf8String ];
|
buildDepends = [ extensibleExceptions mtl terminfo utf8String ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://trac.haskell.org/haskeline";
|
homepage = "http://trac.haskell.org/haskeline";
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "haskell-src-meta";
|
pname = "haskell-src-meta";
|
||||||
version = "0.5";
|
version = "0.5.0.2";
|
||||||
sha256 = "0403j2ks2as61rfl049v4h43xpgx06bm739y80vada6jc85rfinr";
|
sha256 = "059zvr91bnajql19c76vwivvy6sbca83ky8ja91bf8xv1p3jfz3w";
|
||||||
buildDepends = [ haskellSrcExts syb thLift ];
|
buildDepends = [ haskellSrcExts syb thLift ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Parse source to template-haskell abstract syntax";
|
description = "Parse source to template-haskell abstract syntax";
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
|
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
|
||||||
, bytestringMmap, bytestringNums, caseInsensitive, deepseq, dlist
|
, blazeBuilderEnumerator, bytestringMmap, bytestringNums
|
||||||
, enumerator, MonadCatchIOTransformers, mtl, text, time
|
, caseInsensitive, deepseq, dlist, enumerator
|
||||||
, transformers, unixCompat, vector, zlib
|
, MonadCatchIOTransformers, mtl, text, time, transformers
|
||||||
|
, unixCompat, vector, zlibEnum
|
||||||
}:
|
}:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "snap-core";
|
pname = "snap-core";
|
||||||
version = "0.5.4";
|
version = "0.5.5";
|
||||||
sha256 = "0v6lsb60s3w96rqpp9ky8nd660zja8asw02vx1562nvd19k65jbb";
|
sha256 = "1md9n3f11ki87774fh3p7d6bykfdwcqz6b2yrjci4mwf1b1xppkj";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
attoparsec attoparsecEnumerator blazeBuilder bytestringMmap
|
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
|
||||||
bytestringNums caseInsensitive deepseq dlist enumerator
|
bytestringMmap bytestringNums caseInsensitive deepseq dlist
|
||||||
MonadCatchIOTransformers mtl text time transformers unixCompat
|
enumerator MonadCatchIOTransformers mtl text time transformers
|
||||||
vector zlib
|
unixCompat vector zlibEnum
|
||||||
];
|
];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://snapframework.com/";
|
homepage = "http://snapframework.com/";
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "snap-server";
|
pname = "snap-server";
|
||||||
version = "0.5.4";
|
version = "0.5.5";
|
||||||
sha256 = "1kzhmn8pg2lzpqz6319lcy5lk27jcl7jlxq96x1bhnxss8k0idix";
|
sha256 = "10b4y5sfgr1bxs48b78nv6hs68v6qhg008rj9qnwwdp8lxgl4hi8";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
attoparsec attoparsecEnumerator binary blazeBuilder
|
attoparsec attoparsecEnumerator binary blazeBuilder
|
||||||
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
|
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, cmake, ruby}:
|
{stdenv, fetchurl, cmake, ruby, darwinInstallNameToolUtility}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "yajl-2.0.1";
|
name = "yajl-2.0.1";
|
||||||
@ -9,7 +9,8 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "08a7bgmdpvi6w9f9bxx5f42njwmwzdf6jz3w6ila7jgbl5mhknf2";
|
sha256 = "08a7bgmdpvi6w9f9bxx5f42njwmwzdf6jz3w6ila7jgbl5mhknf2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake ruby ];
|
buildInputs = [ cmake ruby ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin darwinInstallNameToolUtility;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Yet Another JSON Library";
|
description = "Yet Another JSON Library";
|
||||||
@ -19,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
homepage = http://lloyd.github.com/yajl/;
|
homepage = http://lloyd.github.com/yajl/;
|
||||||
license = stdenv.lib.license.isc;
|
license = stdenv.lib.license.isc;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; [ linux darwin ];
|
||||||
maintainers = with stdenv.lib.maintainers; [
|
maintainers = with stdenv.lib.maintainers; [
|
||||||
z77z
|
z77z
|
||||||
];
|
];
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
assert stdenv.system == "i686-linux";
|
assert stdenv.system == "i686-linux";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dwarf-fortress-0.31.16";
|
name = "dwarf-fortress-0.31.25";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.bay12games.com/dwarves/df_31_16_linux.tar.bz2";
|
url = "http://www.bay12games.com/dwarves/df_31_25_linux.tar.bz2";
|
||||||
sha256 = "04pyxyigrrclbpxdx3wryisgy5xraz0s7rsxr2kp4i136479f2r4";
|
sha256 = "0d3klvf5n99j38pdhx9mak78px65aw47smck82jb92la97drmcg3";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = "unpackPhase patchPhase installPhase";
|
phases = "unpackPhase patchPhase installPhase";
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
|
{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage rec {
|
||||||
name = "ipython-0.10.1";
|
name = "ipython-0.11";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz";
|
url = "http://pypi.python.org/packages/source/i/ipython/${name}.tar.gz";
|
||||||
sha256 = "18zwrg25zn72w4rmcwxzcw11ibgp001fawm2sz189zv86z70fxi2";
|
md5 = "efc899e752a4a4a67a99575cea1719ef";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pythonPackages.readline ];
|
propagatedBuildInputs = [ pythonPackages.readline pythonPackages.sqlite3 ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -2504,11 +2504,7 @@ let
|
|||||||
|
|
||||||
guile = guile_2_0;
|
guile = guile_2_0;
|
||||||
|
|
||||||
io = builderDefsPackage (import ../development/interpreters/io) {
|
io = callPackage ../development/interpreters/io { };
|
||||||
inherit sqlite zlib gmp libffi cairo ncurses freetype mesa
|
|
||||||
libpng libtiff libjpeg readline libsndfile libxml2
|
|
||||||
freeglut e2fsprogs libsamplerate pcre libevent libedit;
|
|
||||||
};
|
|
||||||
|
|
||||||
j = callPackage ../development/interpreters/j {};
|
j = callPackage ../development/interpreters/j {};
|
||||||
|
|
||||||
|
@ -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 {
|
vnc2flv = buildPythonPackage rec {
|
||||||
name = "vnc2flv-20100207";
|
name = "vnc2flv-20100207";
|
||||||
|
Loading…
Reference in New Issue
Block a user