nixpkgs/pkgs/development/libraries/libsurvive/default.nix

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

41 lines
726 B
Nix
Raw Normal View History

{ lib, stdenv
2021-01-05 16:28:38 +00:00
, fetchFromGitHub
, cmake
, pkg-config
, freeglut
, lapack
2021-01-05 16:28:38 +00:00
, libusb1
, blas
2021-01-05 16:28:38 +00:00
, zlib
}:
stdenv.mkDerivation rec {
pname = "libsurvive";
2022-02-12 10:33:47 +00:00
version = "0.4";
2021-01-05 16:28:38 +00:00
src = fetchFromGitHub {
owner = "cntools";
repo = pname;
rev = "v${version}";
2022-02-12 10:33:47 +00:00
sha256 = "sha256-atX7QsCjKGa6OVSApnx3seBvZv/mlpV3jWRB9+v7Emc=";
2021-01-05 16:28:38 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
freeglut
lapack
2021-01-05 16:28:38 +00:00
libusb1
blas
2021-01-05 16:28:38 +00:00
zlib
];
meta = with lib; {
2021-01-05 16:28:38 +00:00
description = "Open Source Lighthouse Tracking System";
homepage = "https://github.com/cntools/libsurvive";
license = licenses.mit;
maintainers = with maintainers; [ expipiplus1 prusnak ];
2021-01-05 16:28:38 +00:00
platforms = platforms.linux;
};
}