mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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:
parent
7f8c11af2f
commit
0e7e20042b
29
pkgs/development/libraries/glpk/default.nix
Normal file
29
pkgs/development/libraries/glpk/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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>";
|
||||
|
|
|
@ -3832,6 +3832,10 @@ let
|
|||
'' # */
|
||||
;
|
||||
|
||||
glpk = import ../development/libraries/glpk {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
gmime = import ../development/libraries/gmime {
|
||||
inherit fetchurl stdenv pkgconfig zlib glib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue