Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
911 B
Nix
38 lines
911 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
cmake,
|
|
ninja,
|
|
unzip,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.4.2";
|
|
pname = "Clipper";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/polyclipping/clipper_ver${version}.zip";
|
|
sha256 = "09q6jc5k7p9y5d75qr2na5d1gm0wly5cjnffh127r04l47c20hx1";
|
|
};
|
|
|
|
sourceRoot = "cpp";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
unzip
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Polygon and line clipping and offsetting library (C++, C#, Delphi)";
|
|
longDescription = ''
|
|
The Clipper library performs line & polygon clipping - intersection, union, difference & exclusive-or,
|
|
and line & polygon offsetting. The library is based on Vatti's clipping algorithm.
|
|
'';
|
|
homepage = "https://sourceforge.net/projects/polyclipping";
|
|
license = licenses.boost;
|
|
maintainers = with maintainers; [ mpickering ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|