Skip to content

Commit

Permalink
Merge pull request #108490 from prusnak/libsurvive
Browse files Browse the repository at this point in the history
libsurvive: init at 0.3
  • Loading branch information
SuperSandro2000 committed Jan 6, 2021
2 parents 8529423 + b3d4984 commit 59c03dc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/development/libraries/libsurvive/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv
, fetchFromGitHub
, cmake
, pkg-config
, freeglut
, liblapack
, libusb1
, openblas
, zlib
}:

stdenv.mkDerivation rec {
pname = "libsurvive";
version = "0.3";

src = fetchFromGitHub {
owner = "cntools";
repo = pname;
rev = "v${version}";
sha256 = "0m21fnq8pfw2pcvqfgjws531zmalda423q9i65v4qzm8sdb54hl4";
};

nativeBuildInputs = [ cmake pkg-config ];

buildInputs = [
freeglut
liblapack
libusb1
openblas
zlib
];

meta = with stdenv.lib; {
description = "Open Source Lighthouse Tracking System";
homepage = "https://github.com/cntools/libsurvive";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19056,6 +19056,8 @@ in

libsmbios = callPackage ../os-specific/linux/libsmbios { };

libsurvive = callPackage ../development/libraries/libsurvive { };

lm_sensors = callPackage ../os-specific/linux/lm-sensors { };

lockdep = callPackage ../os-specific/linux/lockdep { };
Expand Down

0 comments on commit 59c03dc

Please sign in to comment.