nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 eigen,
7 libccd,
8 octomap,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "fcl";
13 version = "0.7.0";
14
15 src = fetchFromGitHub {
16 owner = "flexible-collision-library";
17 repo = "fcl";
18 rev = finalAttrs.version;
19 sha256 = "0f5lhg6f9np7w16s6wz4mb349bycil1irk8z8ylfjwllxi4n6x7a";
20 };
21
22 nativeBuildInputs = [ cmake ];
23 propagatedBuildInputs = [
24 eigen
25 libccd
26 octomap
27 ];
28
29 outputs = [
30 "out"
31 "dev"
32 ];
33
34 meta = {
35 description = "Flexible Collision Library";
36 longDescription = ''
37 FCL is a library for performing three types of proximity queries on a
38 pair of geometric models composed of triangles.
39 '';
40 homepage = "https://github.com/flexible-collision-library/fcl";
41 license = lib.licenses.bsd3;
42 maintainers = with lib.maintainers; [ lopsided98 ];
43 platforms = lib.platforms.unix;
44 };
45})