2018-04-24 23:30:27 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkgconfig
|
|
|
|
, boost
|
|
|
|
, m4ri
|
|
|
|
, gd
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-17 02:13:50 +01:00
|
|
|
version = "1.2.8";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "brial";
|
2018-04-24 23:30:27 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BRiAl";
|
|
|
|
repo = "BRiAl";
|
|
|
|
rev = version;
|
2020-03-17 02:13:50 +01:00
|
|
|
sha256 = "0qhgckd4fvbs40jw14mvw89rccv94d3df27kipd27hxd4cx7y80y";
|
2018-04-24 23:30:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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; {
|
2020-03-17 02:13:50 +01:00
|
|
|
homepage = "https://github.com/BRiAl/BRiAl";
|
2018-04-24 23:30:27 +02:00
|
|
|
description = "Legacy version of PolyBoRi maintained by sagemath developers";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ timokau ];
|
2019-09-15 10:48:07 +02:00
|
|
|
platforms = platforms.unix;
|
2018-04-24 23:30:27 +02:00
|
|
|
};
|
|
|
|
}
|