2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
2020-11-09 15:59:12 +00:00
|
|
|
, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmake
|
|
|
|
, cfitsio
|
|
|
|
, libusb1
|
|
|
|
, zlib
|
|
|
|
, boost
|
|
|
|
, libnova
|
|
|
|
, curl
|
|
|
|
, libjpeg
|
|
|
|
, gsl
|
2020-11-09 15:59:12 +00:00
|
|
|
, fftw
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2020-11-09 15:59:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "indilib";
|
2020-11-24 20:58:05 +00:00
|
|
|
version = "1.8.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-09 15:59:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "indilib";
|
|
|
|
repo = "indi";
|
|
|
|
rev = "v${version}";
|
2020-11-24 20:58:05 +00:00
|
|
|
sha256 = "0cy9l1vpsnfilxslvmn88hhq8iw8cnx3xpbnl78c0dgjyfv5xmhz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./udev-dir.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
cfitsio
|
|
|
|
libusb1
|
|
|
|
zlib
|
|
|
|
boost
|
|
|
|
libnova
|
|
|
|
libjpeg
|
|
|
|
gsl
|
2020-11-09 15:59:12 +00:00
|
|
|
fftw
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-11-09 15:59:12 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.indilib.org/";
|
2020-11-09 15:59:12 +00:00
|
|
|
description = "Implementation of the INDI protocol for POSIX operating systems";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ hjones2199 ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|