47 lines
838 B
Nix
47 lines
838 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkgconfig
|
|
, boost
|
|
, m4ri
|
|
, gd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.10";
|
|
pname = "brial";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BRiAl";
|
|
repo = "BRiAl";
|
|
rev = version;
|
|
sha256 = "1qg6ssp87rb8p37kahxmm88fbxqg6r540cky5v7wq7l19n2b1bss";
|
|
};
|
|
|
|
# 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.unix;
|
|
};
|
|
}
|