diff --git a/pkgs/development/libraries/gmm/default.nix b/pkgs/development/libraries/gmm/default.nix new file mode 100644 index 000000000000..56b51d71ca62 --- /dev/null +++ b/pkgs/development/libraries/gmm/default.nix @@ -0,0 +1,17 @@ +args: +args.stdenv.mkDerivation { + name = "gmm-3.0"; + + src = args.fetchurl { + url = http://download.gna.org/getfem/stable/gmm-3.0.tar.gz; + sha256 = "1lc34w68s0rhii6caklvq2pyc3jaa4g6kza948ya8ha6rr8d1ypp"; + }; + + buildInputs =(with args; []); + + meta = { + description = "generic C++ template library for sparse, dense and skyline matrices"; + homepage = http://home.gna.org/getfem/gmm_intro.html; + license = "LGLP2.1"; # or later + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 305d6a621a71..a2d1ef17f68f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2499,6 +2499,10 @@ let pkgs = rec { inherit (gtkLibs) glib; }; + gmm = import ../development/libraries/gmm { + inherit fetchurl stdenv; + }; + gmp = import ../development/libraries/gmp { inherit fetchurl stdenv m4; };