summary refs log tree commit diff
path: root/pkgs/development/libraries/indilib/default.nix
blob: fadd2657b688cff2b774b7c323756f5306e7fbbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ stdenv
, fetchurl
, cmake
, cfitsio
, libusb1
, zlib
, boost
, libnova
, curl
, libjpeg
, gsl
}:

stdenv.mkDerivation {
  name = "indilib-1.1.0";

  src = fetchurl {
    url = "mirror://sourceforge/indi/libindi_1.1.0.tar.gz";
    sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
  };

  patches = [
    ./udev-dir.patch
  ];

  nativeBuildInputs = [
    cmake
  ];

  buildInputs = [
    curl
    cfitsio
    libusb1
    zlib
    boost
    libnova
    libjpeg
    gsl
  ];

  meta = {
    homepage = "https://www.indilib.org/";
    license = stdenv.lib.licenses.lgpl2Plus;
    description = "Implementaion of the INDI protocol for POSIX operating systems";
    platforms = stdenv.lib.platforms.unix;
  };
}