depot/third_party/nixpkgs/pkgs/by-name/no/normaliz/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

43 lines
884 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, gmpxx
, flint
, arb
, nauty
}:
stdenv.mkDerivation (finalAttrs: {
pname = "normaliz";
version = "3.10.3";
src = fetchFromGitHub {
owner = "normaliz";
repo = "normaliz";
rev = "v${finalAttrs.version}";
hash = "sha256-9jN3EbYfWmir+pa4XuJpeT7CnQdhVU9pP8G11npIG00=";
};
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";
};
})