1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

brial: init at 1.2.3

This commit is contained in:
Timo Kaufmann 2018-04-24 23:30:27 +02:00
parent e6d555817d
commit 8b5ecf9141
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

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