nixpkgs/pkgs/development/libraries/science/math/brial/default.nix

47 lines
835 B
Nix
Raw Normal View History

2018-04-24 14:30:27 -07:00
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, boost
, m4ri
, gd
}:
stdenv.mkDerivation rec {
version = "1.2.6";
pname = "brial";
2018-04-24 14:30:27 -07:00
src = fetchFromGitHub {
owner = "BRiAl";
repo = "BRiAl";
rev = version;
sha256 = "1mc1zjr3mxcx6bg0js5k9jx65japg7644b0aj1al75m4nwh2ygab";
2018-04-24 14:30:27 -07: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; {
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;
2018-04-24 14:30:27 -07:00
};
}