1 { lib, stdenv, fetchurl, cmake, ninja, unzip }:
3 stdenv.mkDerivation rec {
7 url = "mirror://sourceforge/polyclipping/clipper_ver${version}.zip";
8 sha256 = "09q6jc5k7p9y5d75qr2na5d1gm0wly5cjnffh127r04l47c20hx1";
15 nativeBuildInputs = [ cmake ninja unzip ];
18 description = "A polygon and line clipping and offsetting library (C++, C#, Delphi)";
20 The Clipper library performs line & polygon clipping - intersection, union, difference & exclusive-or,
21 and line & polygon offsetting. The library is based on Vatti's clipping algorithm.
23 homepage = "https://sourceforge.net/projects/polyclipping";
24 license = licenses.boost;
25 maintainers = with maintainers; [ mpickering ];
26 platforms = with platforms; unix;