mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
531e4b80c9
Only acts on one-line dependency lists.
22 lines
703 B
Nix
22 lines
703 B
Nix
{stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "givaro";
|
|
version = "4.0.2";
|
|
src = fetchFromGitHub {
|
|
owner = "linbox-team";
|
|
repo = "${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "04n1lyc823z3l1d7mnmqpc9z1pkn646szjchasbfkn74m7cb0qz7";
|
|
};
|
|
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;
|
|
};
|
|
}
|