2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, gmp
|
|
|
|
, autoreconfHook
|
2023-11-16 04:20:00 +00:00
|
|
|
, texliveSmall
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cddlib";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "0.94m";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cddlib";
|
|
|
|
repo = "cddlib";
|
|
|
|
rev = version;
|
2020-12-25 13:55:36 +00:00
|
|
|
sha256 = "09s8323h5w9j6mpl1yc6lm770dkskfxd2ayyafkcjllmnncxzfa0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
buildInputs = [gmp];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2023-11-16 04:20:00 +00:00
|
|
|
texliveSmall # for building the documentation
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
# No actual checks yet (2018-05-05), but maybe one day.
|
|
|
|
# Requested here: https://github.com/cddlib/cddlib/issues/25
|
|
|
|
doCheck = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Implementation of the Double Description Method for generating all vertices of a convex polyhedron";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-11-21 19:51:51 +00:00
|
|
|
maintainers = teams.sage.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
homepage = "https://www.inf.ethz.ch/personal/fukudak/cdd_home/index.html";
|
|
|
|
};
|
|
|
|
}
|