Skip to content

Commit

Permalink
clipper: init at 6.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mpickering authored and thoughtpolice committed Mar 24, 2018
1 parent 8ac272f commit 46a90e3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/libraries/clipper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, cmake, ninja, unzip }:

stdenv.mkDerivation rec {
version = "6.4.2";
name = "Clipper-${version}";
src = fetchurl {
url = "mirror://sourceforge/polyclipping/clipper_ver${version}.zip";
sha256 = "09q6jc5k7p9y5d75qr2na5d1gm0wly5cjnffh127r04l47c20hx1";
};

sourceRoot = "cpp";

buildInputs = [ ];

nativeBuildInputs = [ cmake ninja unzip ];

meta = with stdenv.lib; {
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://www.angusj.com/delphi/clipper.php;
license = licenses.boost;
maintainers = with maintainers; [ mpickering ];
platforms = with platforms; unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8524,6 +8524,8 @@ with pkgs;

clearsilver = callPackage ../development/libraries/clearsilver { };

clipper = callPackage ../development/libraries/clipper { };

cln = callPackage ../development/libraries/cln { };

clucene_core_2 = callPackage ../development/libraries/clucene-core/2.x.nix { };
Expand Down

0 comments on commit 46a90e3

Please sign in to comment.