git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #108490 from prusnak/libsurvive

libsurvive: init at 0.3

commit59c03dc61606b1be305beada6e9f1ddb707aecd7 authorSandro <sandro.jaeckel@gmail.com> dateWed 6 Jan 2021, 01:29 (6 years ago) parent8529423b3d4984
2 files changed+42
pkgs/development/libraries/libsurvive/default.nix+40 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/libsurvive/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{ stdenv
2+, fetchFromGitHub
3+, cmake
4+, pkg-config
5+, freeglut
6+, liblapack
7+, libusb1
8+, openblas
9+, zlib
10+}:
11+
12+stdenv.mkDerivation rec {
13+ pname = "libsurvive";
14+ version = "0.3";
15+
16+ src = fetchFromGitHub {
17+ owner = "cntools";
18+ repo = pname;
19+ rev = "v${version}";
20+ sha256 = "0m21fnq8pfw2pcvqfgjws531zmalda423q9i65v4qzm8sdb54hl4";
21+ };
22+
23+ nativeBuildInputs = [ cmake pkg-config ];
24+
25+ buildInputs = [
26+ freeglut
27+ liblapack
28+ libusb1
29+ openblas
30+ zlib
31+ ];
32+
33+ meta = with stdenv.lib; {
34+ description = "Open Source Lighthouse Tracking System";
35+ homepage = "https://github.com/cntools/libsurvive";
36+ license = licenses.mit;
37+ maintainers = with maintainers; [ prusnak ];
38+ platforms = platforms.linux;
39+ };
40+}
pkgs/top-level/all-packages.nix+2
@@ -19056,6 +19056,8 @@ in
1905619056
1905719057 libsmbios = callPackage ../os-specific/linux/libsmbios { };
1905819058
19059+ libsurvive = callPackage ../development/libraries/libsurvive { };
19060+
1905919061 lm_sensors = callPackage ../os-specific/linux/lm-sensors { };
1906019062
1906119063 lockdep = callPackage ../os-specific/linux/lockdep { };