Add the GNU Linear Programming Kit (GLPK).

Contributed by Brian Gough <bjg@gnu.org>.

svn path=/nixpkgs/trunk/; revision=21284
This commit is contained in:
Ludovic Courtès 2010-04-23 21:15:48 +00:00
parent 7f8c11af2f
commit 0e7e20042b
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "glpk-4.43";
src = fetchurl {
url = "mirror://gnu/glpk/${name}.tar.gz";
sha256 = "3be5f9c2cc355b39570ddb1b86a2ccc40fb52f81588f953f22c2ed29e3278e27";
};
doCheck = true;
meta = {
description = "The GNU Linear Programming Kit";
longDescription =
'' The GNU Linear Programming Kit is intended for solving large
scale linear programming problems by means of the revised
simplex method. It is a set of routines written in the ANSI C
programming language and organized in the form of a library.
'';
homepage = http://www.gnu.org/software/glpk/;
license = "GPLv3+";
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -7,6 +7,7 @@
all = "Nix Committers <nix-commits@cs.uu.nl>";
andres = "Andres Loeh <andres@cs.uu.nl>";
astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
bjg = "Brian Gough <bjg@gnu.org>";
eelco = "Eelco Dolstra <e.dolstra@tudelft.nl>";
ludo = "Ludovic Courtès <ludo@gnu.org>";
marcweber = "Marc Weber <marco-oweber@gmx.de>";

View File

@ -3832,6 +3832,10 @@ let
'' # */
;
glpk = import ../development/libraries/glpk {
inherit fetchurl stdenv;
};
gmime = import ../development/libraries/gmime {
inherit fetchurl stdenv pkgconfig zlib glib;
};