depot/third_party/nixpkgs/pkgs/by-name/no/normaliz/package.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

43 lines
881 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, gmpxx
, flint
, arb
, nauty
}:
stdenv.mkDerivation (finalAttrs: {
pname = "normaliz";
version = "3.10.4";
src = fetchFromGitHub {
owner = "normaliz";
repo = "normaliz";
rev = "v${finalAttrs.version}";
hash = "sha256-qmbLgjAkLrW8rqFthK3H4n63zLVJ33Pe82V7yU1StOo=";
};
buildInputs = [
gmpxx
flint
arb
nauty
];
outputs = [ "out" "lib" "dev" ];
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
homepage = "https://www.normaliz.uni-osnabrueck.de/";
description = "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";
};
})