mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
sophus: init at 1.22.10
This commit is contained in:
parent
396306d5ce
commit
da353f4aa0
41
pkgs/by-name/so/sophus/package.nix
Normal file
41
pkgs/by-name/so/sophus/package.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, eigen
|
||||
, fmt
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sophus";
|
||||
version = "1.22.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "strasdat";
|
||||
repo = "Sophus";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-TNuUoL9r1s+kGE4tCOGFGTDv1sLaHJDUKa6c9x41Z7w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
eigen
|
||||
fmt
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SOPHUS_TESTS" false)
|
||||
(lib.cmakeBool "BUILD_SOPHUS_EXAMPLES" false)
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "C++ implementation of Lie Groups using Eigen";
|
||||
homepage = "https://github.com/strasdat/Sophus";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ locochoco acowley ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user