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 env.NIX_CFLAGS_COMPILE = toString [
37 description = "Library for generating, refining and rendering 2-Dimensional Constrained Delaunay Triangulations";
39 homepage = "https://code.google.com/archive/p/poly2tri-c/";
40 license = licenses.bsd3;
41 maintainers = with lib.maintainers; [ jtojnar ];
42 platforms = platforms.unix;