13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 # Fixes 'Unknown CMake command "cnkalman_generate_code"'
22 fetchSubmodules = true;
23 sha256 = "sha256-NcxdTKra+YkLt/iu9+1QCeQZLV3/qlhma2Ns/+ZYVsk=";
26 nativeBuildInputs = [ cmake pkg-config ];
37 # https://github.com/cntools/libsurvive/issues/272
39 substituteInPlace survive.pc.in \
40 libs/cnkalman/cnkalman.pc.in libs/cnkalman/libs/cnmatrix/cnmatrix.pc.in \
41 --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
45 description = "Open Source Lighthouse Tracking System";
46 homepage = "https://github.com/cntools/libsurvive";
47 license = licenses.mit;
48 maintainers = with maintainers; [ expipiplus1 prusnak ];
49 platforms = platforms.linux;