nixpkgs/pkgs/development/libraries/givaro/3.7.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

19 lines
663 B
Nix

{stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
stdenv.mkDerivation rec {
pname = "givaro";
version = "3.7.2";
src = fetchurl {
url = "https://forge.imag.fr/frs/download.php/370/givaro-${version}.tar.gz";
sha256 = "0lf5cnbyr27fw7klc3zabkb1979dn67jmrjz6pa3jzw2ng74x9b3";
};
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;
};
}