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