
This reverts commit 65a333600d5c88a98d674f637d092807cfc12253. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
46 lines
886 B
Nix
46 lines
886 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
eigen,
|
|
libccd,
|
|
octomap,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcl";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "flexible-collision-library";
|
|
repo = "fcl";
|
|
rev = version;
|
|
sha256 = "0f5lhg6f9np7w16s6wz4mb349bycil1irk8z8ylfjwllxi4n6x7a";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
propagatedBuildInputs = [
|
|
eigen
|
|
libccd
|
|
octomap
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Flexible Collision Library";
|
|
longDescription = ''
|
|
FCL is a library for performing three types of proximity queries on a
|
|
pair of geometric models composed of triangles.
|
|
'';
|
|
homepage = "https://github.com/flexible-collision-library/fcl";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|