diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/iml/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/iml/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/iml/default.nix b/nixpkgs/pkgs/development/libraries/iml/default.nix new file mode 100644 index 000000000000..b55d13ecc3f4 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/iml/default.nix @@ -0,0 +1,30 @@ +{stdenv, autoreconfHook, fetchurl, gmp, openblas}: +stdenv.mkDerivation rec { + name = "iml-${version}"; + version = "1.0.5"; + src = fetchurl { + url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2"; + sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x"; + }; + buildInputs = [ + gmp + openblas + ]; + nativeBuildInputs = [ + autoreconfHook + ]; + configureFlags = [ + "--with-gmp-include=${gmp.dev}/include" + "--with-gmp-lib=${gmp}/lib" + "--with-cblas=-lopenblas" + ]; + meta = { + inherit version; + description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers''; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + homepage = https://cs.uwaterloo.ca/~astorjoh/iml.html; + updateWalker = true; + }; +} |