mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
44 lines
884 B
Nix
44 lines
884 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, gmpxx
|
|
, flint
|
|
, arb
|
|
, nauty
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "normaliz";
|
|
version = "3.10.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "normaliz";
|
|
repo = "normaliz";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-Q4OktVvFobP25fYggIqBGtSJu2HsYz9Tm+QbEAz0fMg=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gmpxx
|
|
flint
|
|
arb
|
|
nauty
|
|
];
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.normaliz.uni-osnabrueck.de/";
|
|
description = "An open source tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones";
|
|
maintainers = with maintainers; [ yannickulrich ];
|
|
platforms = with platforms; unix ++ windows;
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "normaliz";
|
|
};
|
|
})
|