poselib: init at 2.0.5

This commit is contained in:
usertam
2025-10-03 01:23:15 +02:00
committed by Patrick Chilton
parent 7df7ff7d8e
commit a667c6a86c
+39
View File
@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
cmake,
eigen,
pkg-config,
}:
stdenv.mkDerivation (final: {
pname = "poselib";
version = "2.0.5";
src = fetchFromGitHub {
owner = "PoseLib";
repo = "PoseLib";
rev = "v${final.version}";
hash = "sha256-fARRKT2UoPuuk9FOOsBdrACwGiGXWg/mLV4R0QIjeak=";
};
buildInputs = [ eigen ];
nativeBuildInputs = [
cmake
pkg-config
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; {
description = "A collection of minimal solvers for camera pose estimation";
homepage = "https://github.com/PoseLib/PoseLib";
changelog = "https://github.com/PoseLib/PoseLib/releases/tag/v${final.version}";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ usertam ];
};
})