2020-04-04 09:43:23 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, cfitsio
|
|
|
|
, libusb1
|
|
|
|
, zlib
|
|
|
|
, boost
|
|
|
|
, libnova
|
|
|
|
, curl
|
|
|
|
, libjpeg
|
|
|
|
, gsl
|
|
|
|
}:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2008-01-28 19:47:23 +00:00
|
|
|
stdenv.mkDerivation {
|
2015-12-04 22:36:47 +00:00
|
|
|
name = "indilib-1.1.0";
|
2008-01-28 19:47:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "mirror://sourceforge/indi/libindi_1.1.0.tar.gz";
|
2015-12-04 22:36:47 +00:00
|
|
|
sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
|
2008-01-28 19:47:23 +00:00
|
|
|
};
|
|
|
|
|
2020-04-04 09:43:23 +01:00
|
|
|
patches = [
|
|
|
|
./udev-dir.patch
|
|
|
|
];
|
2013-05-06 13:15:23 +01:00
|
|
|
|
2020-04-04 09:43:23 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
cfitsio
|
|
|
|
libusb1
|
|
|
|
zlib
|
|
|
|
boost
|
|
|
|
libnova
|
|
|
|
libjpeg
|
|
|
|
gsl
|
|
|
|
];
|
2008-01-28 19:47:23 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-04 09:43:23 +01:00
|
|
|
homepage = "https://www.indilib.org/";
|
2015-12-04 22:36:47 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
description = "Implementaion of the INDI protocol for POSIX operating systems";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-01-28 19:47:23 +00:00
|
|
|
};
|
|
|
|
}
|