depot/third_party/nixpkgs/pkgs/development/libraries/iml/default.nix
Default email 73a29e0b97 Project import generated by Copybara.
GitOrigin-RevId: 5bb20f9dc70e9ee16e21cc404b6508654931ce41
2022-01-27 10:19:43 +10:00

28 lines
811 B
Nix

{lib, stdenv, autoreconfHook, fetchurl, gmp, blas}:
stdenv.mkDerivation rec {
pname = "iml";
version = "1.0.5";
src = fetchurl {
url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2";
sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x";
};
buildInputs = [
gmp
blas
];
nativeBuildInputs = [
autoreconfHook
];
configureFlags = [
"--with-gmp-include=${gmp.dev}/include"
"--with-gmp-lib=${gmp}/lib"
"--with-cblas=-lblas"
];
meta = {
description = "Algorithms for computing exact solutions to dense systems of linear equations over the integers";
license = lib.licenses.gpl2Plus;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
homepage = "https://cs.uwaterloo.ca/~astorjoh/iml.html";
};
}