8 stdenv.mkDerivation rec {
12 outputs = [ "bin" "out" "dev" ];
14 src = fetchFromGitLab {
15 domain = "gitlab.gnome.org";
18 rev = "p2tc-${version}";
19 sha256 = "158vm3wqfxs22b74kqc4prlvjny38qqm3kz5wrgasmx0qciwh0g8";
31 NIX_CFLAGS_COMPILE = [
37 description = "Library for generating, refining and rendering 2-Dimensional Constrained Delaunay Triangulations";
38 homepage = "https://code.google.com/archive/p/poly2tri-c/";
39 license = licenses.bsd3;
40 maintainers = with lib.maintainers; [ jtojnar ];
41 platforms = platforms.unix;