Merge pull request #173839 from LunNova/lunnova/libsurvive-update

This commit is contained in:
Pavol Rusnak 2022-05-21 08:49:00 +02:00 committed by GitHub
commit ba680f32af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {