mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
f8a18cd4cf
Importantly, this included regenerating pkgs/servers/x11/xorg, to clobber the old sed.
24 lines
870 B
Nix
24 lines
870 B
Nix
{stdenv, fetchFromGitHub, autoreconfHook, givaro, pkgconfig, openblas, liblapack}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "fflas-ffpack";
|
|
version = "2.2.2";
|
|
src = fetchFromGitHub {
|
|
owner = "linbox-team";
|
|
repo = "${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "0k1f4pb7azrm6ajncvg7vni7ixfmn6fssd5ld4xddbi6jqbsf9rd";
|
|
};
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ givaro (liblapack.override {shared = true;}) openblas];
|
|
configureFlags = "--with-blas-libs=-lopenblas --with-lapack-libs=-llapack";
|
|
meta = {
|
|
inherit version;
|
|
description = ''Finite Field Linear Algebra Subroutines'';
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
homepage = https://linbox-team.github.io/fflas-ffpack/;
|
|
};
|
|
}
|