* Sync with the trunk.
svn path=/nixpkgs/branches/modular-python/; revision=26678
This commit is contained in:
76
pkgs/development/libraries/cloog/default.nix
Normal file
76
pkgs/development/libraries/cloog/default.nix
Normal file
@@ -0,0 +1,76 @@
|
||||
{ fetchurl, stdenv, gmp, isl, static ? false }:
|
||||
|
||||
let
|
||||
staticFlags =
|
||||
assert static -> isl.dontDisableStatic == true;
|
||||
if static then "--enable-static --disable-shared" else "";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cloog-0.16.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./${name}.tar.gz";
|
||||
sha256 = "1w9n9lsq18k65fywwbbvhkgl917053w1kvqw0xhlwcma0v59m6mx";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
propagatedBuildInputs = [ isl ];
|
||||
|
||||
configureFlags = "--with-isl=system --with-isl-prefix=${isl}" + staticFlags;
|
||||
|
||||
dontDisableStatic = if static then true else false;
|
||||
|
||||
crossAttrs = {
|
||||
configureFlags = "--with-isl=system --with-isl-prefix=${isl.hostDrv}" + staticFlags;
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "CLooG, the Chunky Loop Generator";
|
||||
|
||||
longDescription = ''
|
||||
CLooG is a free software library to generate code for scanning
|
||||
Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that
|
||||
reaches each integral point of one or more parameterized polyhedra.
|
||||
CLooG has been originally written to solve the code generation problem
|
||||
for optimizing compilers based on the polytope model. Nevertheless it
|
||||
is used now in various area e.g., to build control automata for
|
||||
high-level synthesis or to find the best polynomial approximation of a
|
||||
function. CLooG may help in any situation where scanning polyhedra
|
||||
matters. While the user has full control on generated code quality,
|
||||
CLooG is designed to avoid control overhead and to produce a very
|
||||
effective code.
|
||||
'';
|
||||
|
||||
homepage = http://www.cloog.org/;
|
||||
|
||||
license = "GPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
|
||||
/* Leads to an ICE on Cygwin:
|
||||
|
||||
make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src'
|
||||
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc
|
||||
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o
|
||||
In file included from checked.defs.hh:595,
|
||||
from Checked_Number.defs.hh:27,
|
||||
from Coefficient.types.hh:15,
|
||||
from Coefficient.defs.hh:26,
|
||||
from Box.defs.hh:28,
|
||||
from Box.cc:24:
|
||||
checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)':
|
||||
checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719
|
||||
Please submit a full bug report,
|
||||
with preprocessed source if appropriate.
|
||||
See <URL:http://cygwin.com/problems.html> for instructions.
|
||||
make[3]: *** [Box.lo] Error 1
|
||||
|
||||
*/
|
||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
||||
};
|
||||
}
|
||||
13
pkgs/development/libraries/haskell/OneTuple/default.nix
Normal file
13
pkgs/development/libraries/haskell/OneTuple/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "OneTuple";
|
||||
version = "0.2.1";
|
||||
sha256 = "1x52b68zh3k9lnps5s87kzan7dzvqp6mrwgayjq15w9dv6v78vsb";
|
||||
meta = {
|
||||
description = "Singleton Tuple";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
12
pkgs/development/libraries/haskell/PSQueue/default.nix
Normal file
12
pkgs/development/libraries/haskell/PSQueue/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "PSQueue";
|
||||
version = "1.1";
|
||||
sha256 = "1k291bh8j5vpcrn6vycww2blwg7jxx9yrfmrqdanz48gs4d8gq58";
|
||||
meta = {
|
||||
description = "Priority Search Queue implementation for Haskell";
|
||||
license = "BSD";
|
||||
};
|
||||
})
|
||||
|
||||
12
pkgs/development/libraries/haskell/attoparsec/default.nix
Normal file
12
pkgs/development/libraries/haskell/attoparsec/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "attoparsec";
|
||||
version = "0.8.5.0";
|
||||
sha256 = "0rdhjqgbbasc1diqzjdb6a8s46kcpdw5yxq2vkg3y2z71zln0a31";
|
||||
meta = {
|
||||
description = "Fast combinator parsing for bytestrings";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
13
pkgs/development/libraries/haskell/attoparsec/enumerator.nix
Normal file
13
pkgs/development/libraries/haskell/attoparsec/enumerator.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{cabal, attoparsec, enumerator}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "attoparsec-enumerator";
|
||||
version = "0.2.0.3";
|
||||
sha256 = "02v9cwq1jbn0179zd2cky4ix6ykrkd7cpw38c1x7zgy0pal42x4v";
|
||||
propagatedBuildInputs = [attoparsec enumerator];
|
||||
meta = {
|
||||
description = "Converts an Attoparsec parser into an iteratee";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{cabal, blazeBuilder, enumerator, transformers}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "blaze-builder-enumerator";
|
||||
version = "0.2.0.2";
|
||||
sha256 = "0as4mjh695jpxp9qfhpsxyr1448l0pk94sh5kk8sgxv5hfiy41k9";
|
||||
propagatedBuildInputs = [blazeBuilder enumerator transformers];
|
||||
meta = {
|
||||
description = "Enumeratees for the incremental conversion of builders to bytestrings";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,12 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "bytestring-nums";
|
||||
version = "0.3.2";
|
||||
sha256 = "16d99xm692x88vx27w4g6iqi4sbi9il8c10r1zaqq2hqviv0k1wg";
|
||||
meta = {
|
||||
description = "Parse numeric literals from ByteStrings";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "bytestring";
|
||||
version = "0.9.1.4";
|
||||
name = self.fname;
|
||||
sha256 = "00x620zkxhlmdxmb2icrq3a2wc6jichng6mn33xr2gsw102973xz";
|
||||
extraBuildInputs = [];
|
||||
meta = {
|
||||
description = "A time and space-efficient implementation of byte vectors using packed Word8 arrays [..]";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,12 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "directory-tree";
|
||||
version = "0.10.0";
|
||||
sha256 = "08b0w9j55x6c06pri7yvv84n24inhpb4miybdnkyjkjy7r3yy7m4";
|
||||
meta = {
|
||||
description = "A simple directory-like tree datatype, with useful IO functions";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
13
pkgs/development/libraries/haskell/enumerator/default.nix
Normal file
13
pkgs/development/libraries/haskell/enumerator/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{cabal, text, transformers}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "enumerator";
|
||||
version = "0.4.9.1";
|
||||
sha256 = "1rnhapj5am1rv3dff2bkhch7ikpyhs18nay39h0805xl50dcyw99";
|
||||
propagatedBuildInputs = [text transformers];
|
||||
meta = {
|
||||
description = "Reliable, high-performance processing with left-fold enumerators";
|
||||
license = "MIT";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
{cabal, binary, blazeHtml, hamlet, mtl, network, pandoc, regexBase,
|
||||
regexTDFA}:
|
||||
{cabal, binary, blazeHtml, hamlet, hopenssl, mtl, network, pandoc, regexBase
|
||||
, regexPCRE, snapCore, snapServer, strictConcurrency}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hakyll";
|
||||
version = "2.4.3";
|
||||
sha256 = "1n1hibwhg22l9p126d10zwhvaab46svcri2rkvd78f4vhmwpvkbs";
|
||||
version = "3.0.2.0";
|
||||
sha256 = "0d1kmvkbwygr9mxz7m8jiasrbj470j4hwsj8mmkdgdm9clxbi74k";
|
||||
propagatedBuildInputs =
|
||||
[binary blazeHtml hamlet mtl network pandoc regexBase regexTDFA];
|
||||
[ binary blazeHtml hamlet hopenssl mtl network pandoc regexBase
|
||||
regexPCRE snapCore snapServer strictConcurrency
|
||||
];
|
||||
meta = {
|
||||
description = "A simple static site generator library";
|
||||
license = "BSD";
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{cabal, blazeBuilder, failure, parsec, text}:
|
||||
{cabal, blazeBuilder, blazeHtml, failure, parsec, text, jsonEnumerator, jsonTypes}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hamlet";
|
||||
version = "0.6.1.2";
|
||||
sha256 = "0aqrjdbqb99nz3snnsrgkd6bnaj1m3bdm8kj9agd3qgv8lv90knn";
|
||||
version = "0.7.3";
|
||||
sha256 = "1knapi8506kqm6pbl1qdr3vm579z2dn6q3h3ahzwbxqjafy7pnj9";
|
||||
propagatedBuildInputs =
|
||||
[blazeBuilder failure parsec text];
|
||||
[blazeBuilder blazeHtml failure parsec text jsonEnumerator jsonTypes];
|
||||
meta = {
|
||||
description = "Haml-like template files that are compile-time checked";
|
||||
license = "BSD";
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
|
||||
haskellSrc, html, network, parallel, parsec, regexBase, regexCompat, regexPosix,
|
||||
stm, syb, deepseq, text, transformers, mtl, xhtml, zlib,
|
||||
cabalInstall, alex, happy, haddock, ghc}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "haskell-platform";
|
||||
version = "2011.2.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://lambda.haskell.org/hp-tmp/2011.2.0.0/cabal/${self.pname}-2011.2.0.0.tar.gz";
|
||||
sha256 = "01ppv8jdyvbngml9vgvrvnani6fj1nbk8mqmrkd8c508l7q9g6vb";
|
||||
};
|
||||
cabalFile = fetchurl {
|
||||
url = http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal;
|
||||
sha256 = "158a1g4ak9mm2q5ri4zdpmbvjgfkz7svxnkxlz8117zpnbs12i3d";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
|
||||
haskellSrc html network parallel parsec regexBase regexCompat regexPosix
|
||||
stm syb deepseq text transformers mtl xhtml zlib
|
||||
cabalInstall alex happy ghc haddock
|
||||
];
|
||||
preConfigure = ''
|
||||
cp ${self.cabalFile} ${self.pname}.cabal
|
||||
'';
|
||||
noHaddock = true;
|
||||
meta = {
|
||||
description = "Haskell Platform meta package";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/hopenssl/default.nix
Normal file
14
pkgs/development/libraries/haskell/hopenssl/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal, mtl, openssl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hopenssl";
|
||||
version = "1.6.1";
|
||||
sha256 = "12lmhpg7m2amqld95lpv6d2j3rfzgdbmz8jsgh2hjb5hx72l5fkm";
|
||||
propagatedBuildInputs = [mtl];
|
||||
extraBuildInputs = [openssl];
|
||||
meta = {
|
||||
description = "FFI bindings to OpenSSL's EVP digest interface";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{cabal, blazeBuilder, blazeBuilderEnumerator, enumerator, jsonTypes, text, transformers}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "json-enumerator";
|
||||
version = "0.0.1.1";
|
||||
sha256 = "0k94x9vwwaprqbc8gay5l0vg6hjmjpjp852yncncb8kr0r344z7l";
|
||||
propagatedBuildInputs =
|
||||
[blazeBuilder blazeBuilderEnumerator enumerator jsonTypes text transformers];
|
||||
meta = {
|
||||
description = "Provides the ability to render JSON in a streaming manner using the enumerator package";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
12
pkgs/development/libraries/haskell/jsonTypes/default.nix
Normal file
12
pkgs/development/libraries/haskell/jsonTypes/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal, text}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "json-types";
|
||||
version = "0.1";
|
||||
sha256 = "088if9qv0didjyb6y1583viihjgc4nwr61qfjqdg9rzc2ya6vqdn";
|
||||
propagatedBuildInputs = [text];
|
||||
meta = {
|
||||
description = "Basic types for representing JSON";
|
||||
license = "MIT";
|
||||
};
|
||||
})
|
||||
12
pkgs/development/libraries/haskell/murmur-hash/default.nix
Normal file
12
pkgs/development/libraries/haskell/murmur-hash/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "murmur-hash";
|
||||
version = "0.1.0.2";
|
||||
sha256 = "14amqkcz2dbjyjrsjblsnka8qymllbzjx5x3za58kwlcifnsq9jr";
|
||||
meta = {
|
||||
description = "MurmurHash2 implementation for Haskell";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{cabal, bytestring, network}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "network-bytestring";
|
||||
version = "0.1.2.1";
|
||||
name = self.fname;
|
||||
sha256 = "0l5gxwc5pg49qyxb1jy3kn9j66a6pg9frw4c7dn1mrpqicm155am";
|
||||
extraBuildInputs = [bytestring network];
|
||||
meta = {
|
||||
description = "Fast, memory-efficient, low-level socket functions that use Data.ByteStrings instead of Strings";
|
||||
};
|
||||
})
|
||||
13
pkgs/development/libraries/haskell/regex-pcre/default.nix
Normal file
13
pkgs/development/libraries/haskell/regex-pcre/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{cabal, regexBase, pcre}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "regex-pcre";
|
||||
version = "0.94.2";
|
||||
sha256 = "0p4az8z4jlrcmmyz9bjf7n90hpg6n242vq4255w2dz5v29l822wn";
|
||||
propagatedBuildInputs = [regexBase];
|
||||
extraBuildInputs = [pcre];
|
||||
meta = {
|
||||
description = "Replaces/Enhances Text.Regex";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
17
pkgs/development/libraries/haskell/snap/core.nix
Normal file
17
pkgs/development/libraries/haskell/snap/core.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{cabal, attoparsec, attoparsecEnumerator, MonadCatchIOTransformers, blazeBuilder
|
||||
, bytestringNums, dlist, mtl, unixCompat, vector, zlib}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "snap-core";
|
||||
version = "0.4.1";
|
||||
sha256 = "0cc6qh8rnfdhv6s4clnb4avbxkvvj4dibbdg0vjbf75iafxvsg9f";
|
||||
propagatedBuildInputs =
|
||||
[ attoparsec attoparsecEnumerator MonadCatchIOTransformers blazeBuilder
|
||||
bytestringNums dlist mtl unixCompat vector zlib
|
||||
];
|
||||
meta = {
|
||||
description = "Snap: A Haskell Web Framework (Core)";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
19
pkgs/development/libraries/haskell/snap/server.nix
Normal file
19
pkgs/development/libraries/haskell/snap/server.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder, blazeBuilderEnumerator
|
||||
, bytestringNums, directoryTree, enumerator, MonadCatchIOTransformers, mtl, murmurHash
|
||||
, network, PSQueue, snapCore, unixCompat, utf8String, vector, vectorAlgorithms, zlib}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "snap-server";
|
||||
version = "0.4.1";
|
||||
sha256 = "1xav58sk6f1capibkil9a834lxg7badcq3v8016azzzmvvhy9iq8";
|
||||
propagatedBuildInputs =
|
||||
[ attoparsec attoparsecEnumerator binary blazeBuilder blazeBuilderEnumerator
|
||||
bytestringNums directoryTree enumerator MonadCatchIOTransformers mtl murmurHash
|
||||
network PSQueue snapCore unixCompat utf8String vector vectorAlgorithms zlib
|
||||
];
|
||||
meta = {
|
||||
description = "Snap: A Haskell Web Framework (Server)";
|
||||
license = "BSD3";
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/text/0.11.0.6.nix
Normal file
14
pkgs/development/libraries/haskell/text/0.11.0.6.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal, deepseq}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "text";
|
||||
version = "0.11.0.6"; # Haskell Platform 2011.2.0.1
|
||||
sha256 = "103l1c8jfwpddsqzwj9jqh89vay8ax1znxqgjqprv2fvr7s0zvkp";
|
||||
propagatedBuildInputs = [deepseq];
|
||||
meta = {
|
||||
description = "An efficient package Unicode text type";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/tuple/default.nix
Normal file
14
pkgs/development/libraries/haskell/tuple/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal, OneTuple}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "tuple";
|
||||
version = "0.2.0.1";
|
||||
sha256 = "1c4vf798rjwshnk04avyjp4rjzj8i9qx4yksv00m3rjy6psr57xg";
|
||||
propagatedBuildInputs = [OneTuple];
|
||||
meta = {
|
||||
description = "Various functions on tuples";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -2,12 +2,11 @@
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "unix-compat";
|
||||
version = "0.1.2.1";
|
||||
sha256 = "553326e140f71f09cedeec5f74666171c2ad2b3d9ba4312da97da02cbf8a2e85";
|
||||
version = "0.2.1.1";
|
||||
sha256 = "11bh29rq3g4qqvxc72wbip85vc3m91lafa85086izpqkkpnl4pxh";
|
||||
meta = {
|
||||
description = "Portable POSIX-compatibility layer";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
|
||||
28
pkgs/development/libraries/isl/default.nix
Normal file
28
pkgs/development/libraries/isl/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{stdenv, fetchurl, gmp, static ? false}:
|
||||
|
||||
let
|
||||
version = "0.06";
|
||||
staticFlags = if static then " --enable-static --disable-shared" else "";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "isl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.kotnet.org/~skimo/isl/isl-${version}.tar.bz2";
|
||||
sha256 = "0w1i1m94w0jkmm0bzlp08c4r97j7yp0d7crxf28524b9mgbg0mwk";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
dontDisableStatic = if static then true else false;
|
||||
configureFlags = "--with-gmp-prefix=${gmp}" + staticFlags;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.kotnet.org/~skimo/isl/;
|
||||
license = "LGPLv2.1";
|
||||
description = "A library for manipulating sets and relations of integer points bounded by linear constraints.";
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
};
|
||||
}
|
||||
|
||||
20
pkgs/development/libraries/mygui/default.nix
Normal file
20
pkgs/development/libraries/mygui/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{stdenv, fetchurl, unzip, ogre, cmake, ois, freetype, libuuid, boost}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mygui-3.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/my-gui/MyGUI_3.0.1_source.zip;
|
||||
sha256 = "1n56kl8ykzgv4k2nm9317jg9b9x2qa3l9hamz11hzn1qqjn2z4ig";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ unzip ogre cmake ois freetype libuuid boost ];
|
||||
|
||||
meta = {
|
||||
homepage = http://mygui.info/;
|
||||
description = "Library for creating GUIs for games and 3D applications";
|
||||
license = "LGPLv3+";
|
||||
};
|
||||
}
|
||||
27
pkgs/development/libraries/mygui/svn.nix
Normal file
27
pkgs/development/libraries/mygui/svn.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{stdenv, fetchsvn, unzip, ogre, cmake, ois, freetype, libuuid, boost}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mygui-svn-4141";
|
||||
|
||||
src = fetchsvn {
|
||||
url = https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk;
|
||||
rev = 4141;
|
||||
sha256 = "0xfm4b16ksqd1cwq45kl01wi4pmj244dpn11xln8ns7wz0sffjwn";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DOGRE_LIB_DIR=${ogre}/lib"
|
||||
"-DOGRE_INCLUDE_DIR=${ogre}/include/OGRE"
|
||||
"-DOGRE_LIBRARIES=OgreMain"
|
||||
];
|
||||
|
||||
buildInputs = [ unzip ogre cmake ois freetype libuuid boost ];
|
||||
|
||||
meta = {
|
||||
homepage = http://mygui.info/;
|
||||
description = "Library for creating GUIs for games and 3D applications";
|
||||
license = "LGPLv3+";
|
||||
};
|
||||
}
|
||||
@@ -35,8 +35,10 @@ rec {
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
doMyBuild = a.fullDepEntry ("make -j4") ["doCmake"];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doCmake" "doMakeInstall"];
|
||||
phaseNames = ["doCmake" "doMyBuild" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "A 3D engine";
|
||||
|
||||
50
pkgs/development/libraries/ppl/0.11.nix
Normal file
50
pkgs/development/libraries/ppl/0.11.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{ fetchurl, stdenv, gmpxx, perl, gnum4, static ? false }:
|
||||
|
||||
let
|
||||
version = "0.11";
|
||||
staticFlags = if static then " --enable-static --disable-shared" else "";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ppl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gcc/infrastructure/ppl-${version}.tar.gz";
|
||||
sha256 = "0xqwyaj232gi0pgm6z2rihk6p8l1rngbbibnhmcrbq4jq550clrl";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ perl gnum4 ];
|
||||
propagatedBuildInputs = [ gmpxx ];
|
||||
|
||||
dontDisableStatic = if static then true else false;
|
||||
configureFlags = staticFlags;
|
||||
|
||||
# Beware! It took ~6 hours to compile PPL and run its tests on a 1.2 GHz
|
||||
# x86_64 box. Nevertheless, being a dependency of GCC, it probably ought
|
||||
# to be tested.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "PPL: The Parma Polyhedra Library";
|
||||
|
||||
longDescription = ''
|
||||
The Parma Polyhedra Library (PPL) provides numerical abstractions
|
||||
especially targeted at applications in the field of analysis and
|
||||
verification of complex systems. These abstractions include convex
|
||||
polyhedra, defined as the intersection of a finite number of (open or
|
||||
closed) halfspaces, each described by a linear inequality (strict or
|
||||
non-strict) with rational coefficients; some special classes of
|
||||
polyhedra shapes that offer interesting complexity/precision tradeoffs;
|
||||
and grids which represent regularly spaced points that satisfy a set of
|
||||
linear congruence relations. The library also supports finite
|
||||
powersets and products of (any kind of) polyhedra and grids and a mixed
|
||||
integer linear programming problem solver using an exact-arithmetic
|
||||
version of the simplex algorithm.
|
||||
'';
|
||||
|
||||
homepage = http://www.cs.unipr.it/ppl/;
|
||||
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user