summary refs log tree commit diff
path: root/pkgs/development/libraries/libsurvive
diff options
context:
space:
mode:
authorLuna Nova <git@lunnova.dev>2022-05-20 21:39:54 -0700
committerLuna Nova <git@lunnova.dev>2022-05-20 21:40:00 -0700
commit0ef6ae6cd60044fe4d1e4953a8366bb579c80f1b (patch)
tree38d3f707cdb6fff5907abd810c1762ef0716192b /pkgs/development/libraries/libsurvive
parentbd2a32cb434052248549bdc4324b897b76316632 (diff)
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.
Diffstat (limited to 'pkgs/development/libraries/libsurvive')
-rw-r--r--pkgs/development/libraries/libsurvive/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libsurvive/default.nix b/pkgs/development/libraries/libsurvive/default.nix
index 5685cfdbb4d46..ddcbcb8222c24 100644
--- a/pkgs/development/libraries/libsurvive/default.nix
+++ b/pkgs/development/libraries/libsurvive/default.nix
@@ -7,17 +7,20 @@
 , libusb1
 , blas
 , zlib
+, eigen
 }:
 
 stdenv.mkDerivation rec {
   pname = "libsurvive";
-  version = "0.4";
+  version = "1.0";
 
   src = fetchFromGitHub {
     owner = "cntools";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-atX7QsCjKGa6OVSApnx3seBvZv/mlpV3jWRB9+v7Emc=";
+    # Fixes 'Unknown CMake command "cnkalman_generate_code"'
+    fetchSubmodules = true;
+    sha256 = "sha256-I8Wx9avfMyDic+Bk/1IjzZiiHj+l3XqpRwxYbWlsG/Q=";
   };
 
   nativeBuildInputs = [ cmake pkg-config ];
@@ -28,6 +31,7 @@ stdenv.mkDerivation rec {
     libusb1
     blas
     zlib
+    eigen
   ];
 
   meta = with lib; {