Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
806 B
Nix
Raw Permalink Normal View History

2024-10-21 18:52:30 +02:00
{
cmake,
stdenv,
lib,
fetchFromGitHub,
nix-update-script,
2024-10-21 18:52:30 +02:00
}:
stdenv.mkDerivation rec {
pname = "liblsl";
version = "1.16.2";
src = fetchFromGitHub {
owner = "sccn";
repo = "liblsl";
rev = "v${version}";
2024-10-21 18:52:30 +02:00
sha256 = "sha256-nmu7Kxk4U5sGO8Od9JR4id4V4mjeibj4AHjUYhpGPeo=";
};
passthru.updateScript = nix-update-script { };
2024-10-21 18:52:30 +02:00
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DLSL_UNIXFOLDERS=ON" ];
meta = {
description = "C++ lsl library for multi-modal time-synched data transmission over the local network";
homepage = "https://github.com/sccn/liblsl";
changelog = "https://github.com/sccn/liblsl/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ abcsds ];
platforms = lib.platforms.all;
};
}