Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
836 B
Nix
40 lines
836 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|