nixpkgs-suyu/pkgs/development/libraries/octomap/default.nix

25 lines
630 B
Nix
Raw Normal View History

2021-05-15 05:31:53 +02:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "octomap";
2021-05-21 21:19:48 +02:00
version = "1.9.7";
2021-05-15 05:31:53 +02:00
src = fetchFromGitHub {
owner = "OctoMap";
repo = pname;
rev = "v${version}";
2021-05-21 21:19:48 +02:00
sha256 = "1pb58w6vka7wzs533lcy7i6y5nwjfrzy6b35fhrb1dhq2mgszc79";
2021-05-15 05:31:53 +02:00
};
sourceRoot = "source/octomap";
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A probabilistic, flexible, and compact 3D mapping library for robotic systems";
homepage = "https://octomap.github.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ lopsided98 ];
platforms = platforms.unix;
};
}