mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
Merge pull request #61344 from lopsided98/g2o-init
g2o: init at 2019-04-07
This commit is contained in:
commit
0b1a96ccdd
24
pkgs/development/libraries/g2o/default.nix
Normal file
24
pkgs/development/libraries/g2o/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, eigen, suitesparse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "g2o";
|
||||
version = "unstable-2019-04-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RainerKuemmerle";
|
||||
repo = pname;
|
||||
rev = "9b41a4ea5ade8e1250b9c1b279f3a9c098811b5a";
|
||||
sha256 = "1rgrz6zxiinrik3lgwgvsmlww1m2fnpjmvcx1mf62xi1s2ma5w2i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ eigen suitesparse ];
|
||||
|
||||
meta = {
|
||||
description = "A General Framework for Graph Optimization";
|
||||
homepage = "https://github.com/RainerKuemmerle/g2o";
|
||||
license = with lib.licenses; [ bsd3 lgpl3 gpl3 ];
|
||||
maintainers = with lib.maintainers; [ lopsided98 ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -1529,6 +1529,8 @@ in
|
|||
|
||||
fzy = callPackage ../tools/misc/fzy { };
|
||||
|
||||
g2o = callPackage ../development/libraries/g2o { };
|
||||
|
||||
gbsplay = callPackage ../applications/audio/gbsplay { };
|
||||
|
||||
gdrivefs = python27Packages.gdrivefs;
|
||||
|
|
Loading…
Reference in a new issue