3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libsurvive/default.nix
Luna Nova 0ef6ae6cd6
libsurvive: 0.4 -> 1.0
https://github.com/cntools/libsurvive/releases/tag/v1.0

With recent improvements to tracking and reliability it seemed time to commit to non beta status. This also means the "SimpleApi" portion of the library will be no longer be subject to breaking API changes.
2022-05-20 21:40:00 -07:00

45 lines
833 B
Nix

{ lib, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, freeglut
, lapack
, libusb1
, blas
, zlib
, eigen
}:
stdenv.mkDerivation rec {
pname = "libsurvive";
version = "1.0";
src = fetchFromGitHub {
owner = "cntools";
repo = pname;
rev = "v${version}";
# Fixes 'Unknown CMake command "cnkalman_generate_code"'
fetchSubmodules = true;
sha256 = "sha256-I8Wx9avfMyDic+Bk/1IjzZiiHj+l3XqpRwxYbWlsG/Q=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
freeglut
lapack
libusb1
blas
zlib
eigen
];
meta = with lib; {
description = "Open Source Lighthouse Tracking System";
homepage = "https://github.com/cntools/libsurvive";
license = licenses.mit;
maintainers = with maintainers; [ expipiplus1 prusnak ];
platforms = platforms.linux;
};
}