Merge pull request #38794 from timokau/brial-init

brial: init at 1.2.3
This commit is contained in:
Robert Schütz 2018-05-08 08:08:15 +02:00 committed by GitHub
commit 6e6005c2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, boost
, m4ri
, gd
}:
stdenv.mkDerivation rec {
version = "1.2.3";
name = "brial-${version}";
src = fetchFromGitHub {
owner = "BRiAl";
repo = "BRiAl";
rev = version;
sha256 = "0qy4cwy7qrk4zg151cmws5cglaa866z461cnj9wdnalabs7v7qbg";
};
# FIXME package boost-test and enable checks
doCheck = false;
configureFlags = [
"--with-boost-unit-test-framework=no"
];
buildInputs = [
boost
m4ri
gd
];
nativeBuildInputs = [
autoreconfHook
pkgconfig
];
meta = with stdenv.lib; {
homepage = https://github.com/BRiAl/BRiAl;
description = "Legacy version of PolyBoRi maintained by sagemath developers";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ timokau ];
platforms = platforms.linux;
};
}

View File

@ -19979,6 +19979,8 @@ with pkgs;
blas = callPackage ../development/libraries/science/math/blas { }; blas = callPackage ../development/libraries/science/math/blas { };
brial = callPackage ../development/libraries/science/math/brial { };
clblas = callPackage ../development/libraries/science/math/clblas { clblas = callPackage ../development/libraries/science/math/clblas {
inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo OpenCL; inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo OpenCL;
}; };