diff --git a/pkgs/development/libraries/fflas-ffpack/1.nix b/pkgs/development/libraries/fflas-ffpack/1.nix new file mode 100644 index 000000000000..1222aef12f86 --- /dev/null +++ b/pkgs/development/libraries/fflas-ffpack/1.nix @@ -0,0 +1,21 @@ +{stdenv, fetchurl, autoreconfHook, givaro_3_7, pkgconfig, openblas, gmpxx}: +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "fflas-ffpack"; + version = "1.6.0"; + src = fetchurl { + url = "http://linalg.org/fflas-ffpack-${version}.tar.gz"; + sha256 = "02fr675278c65hfiy1chb903j4ix9i8yni1xc2g5nmsjcaf9vra9"; + }; + buildInputs = [autoreconfHook givaro_3_7 openblas gmpxx]; + nativeBuildInputs = [pkgconfig]; + configureFlags = "--with-blas=-lopenblas --with-gmp=${gmpxx.dev} --with-givaro=${givaro_3_7}"; + 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/"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d74dcba44659..f6d8b5d1f8f5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6826,6 +6826,7 @@ in fcgi = callPackage ../development/libraries/fcgi { }; fflas-ffpack = callPackage ../development/libraries/fflas-ffpack {}; + fflas-ffpack_1 = callPackage ../development/libraries/fflas-ffpack/1.nix {}; ffmpeg_0_10 = callPackage ../development/libraries/ffmpeg/0.10.nix { inherit (darwin.apple_sdk.frameworks) Cocoa;