15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 # Fixes 'Unknown CMake command "cnkalman_generate_code"'
24 fetchSubmodules = true;
25 hash = "sha256-NcxdTKra+YkLt/iu9+1QCeQZLV3/qlhma2Ns/+ZYVsk=";
42 # https://github.com/cntools/libsurvive/issues/272
44 substituteInPlace survive.pc.in \
45 libs/cnkalman/cnkalman.pc.in libs/cnkalman/libs/cnmatrix/cnmatrix.pc.in \
46 --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
50 description = "Open Source Lighthouse Tracking System";
51 homepage = "https://github.com/cntools/libsurvive";
52 license = licenses.mit;
53 maintainers = with maintainers; [ prusnak ];
54 platforms = platforms.linux;