2023-12-06 17:45:33 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, gmpxx
|
|
|
|
, flint
|
|
|
|
, arb
|
|
|
|
, nauty
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "normaliz";
|
2024-10-07 14:42:41 +00:00
|
|
|
version = "3.10.4";
|
2023-12-06 17:45:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "normaliz";
|
|
|
|
repo = "normaliz";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-10-07 14:42:41 +00:00
|
|
|
hash = "sha256-qmbLgjAkLrW8rqFthK3H4n63zLVJ33Pe82V7yU1StOo=";
|
2023-12-06 17:45:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gmpxx
|
|
|
|
flint
|
|
|
|
arb
|
|
|
|
nauty
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.normaliz.uni-osnabrueck.de/";
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Open source tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones";
|
2023-12-06 17:45:33 +00:00
|
|
|
maintainers = with maintainers; [ yannickulrich ];
|
|
|
|
platforms = with platforms; unix ++ windows;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
mainProgram = "normaliz";
|
|
|
|
};
|
|
|
|
})
|