diff --git a/pkgs/development/libraries/glpk/default.nix b/pkgs/development/libraries/glpk/default.nix new file mode 100644 index 000000000000..88b5e93dfcf0 --- /dev/null +++ b/pkgs/development/libraries/glpk/default.nix @@ -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; + }; +} diff --git a/pkgs/lib/maintainers.nix b/pkgs/lib/maintainers.nix index 678c061eb87e..1efeabc4b54d 100644 --- a/pkgs/lib/maintainers.nix +++ b/pkgs/lib/maintainers.nix @@ -7,6 +7,7 @@ all = "Nix Committers "; andres = "Andres Loeh "; astsmtl = "Alexander Tsamutali "; + bjg = "Brian Gough "; eelco = "Eelco Dolstra "; ludo = "Ludovic Courtès "; marcweber = "Marc Weber "; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe971c37fa9b..5778619c2867 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3832,6 +3832,10 @@ let '' # */ ; + glpk = import ../development/libraries/glpk { + inherit fetchurl stdenv; + }; + gmime = import ../development/libraries/gmime { inherit fetchurl stdenv pkgconfig zlib glib; };