forked from mirrors/nixpkgs
531e4b80c9
Only acts on one-line dependency lists.
20 lines
695 B
Nix
20 lines
695 B
Nix
{stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "givaro";
|
|
version = "3.8.0";
|
|
src = fetchurl {
|
|
url = "https://forge.imag.fr/frs/download.php/592/givaro-${version}.tar.gz";
|
|
sha256 = "1822ksv8653a84hvcz0vxl3nk8dqz7d41ys8rplq0zjjmvb2i5yq";
|
|
};
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [autoconf automake libtool gmpxx];
|
|
meta = {
|
|
inherit version;
|
|
description = ''A C++ library for arithmetic and algebraic computations'';
|
|
license = stdenv.lib.licenses.cecill-b;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|