2020-04-04 09:43:23 +01:00
|
|
|
{ stdenv
|
2020-11-01 19:14:33 +00:00
|
|
|
, fetchFromGitHub
|
2020-04-04 09:43:23 +01:00
|
|
|
, cmake
|
|
|
|
, cfitsio
|
|
|
|
, libusb1
|
|
|
|
, zlib
|
|
|
|
, boost
|
|
|
|
, libnova
|
|
|
|
, curl
|
|
|
|
, libjpeg
|
|
|
|
, gsl
|
2020-11-01 19:14:33 +00:00
|
|
|
, fftw
|
2020-04-04 09:43:23 +01:00
|
|
|
}:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2020-11-01 19:14:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "indilib";
|
|
|
|
version = "1.8.6";
|
2008-01-28 19:47:23 +00:00
|
|
|
|
2020-11-01 19:14:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "indilib";
|
|
|
|
repo = "indi";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1yzvcm7lwhwssnvv6gp8f7igmnvs35bpidmzz6z15awm5841yw30";
|
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
|
2020-11-01 19:14:33 +00:00
|
|
|
fftw
|
2020-04-04 09:43:23 +01:00
|
|
|
];
|
2008-01-28 19:47:23 +00:00
|
|
|
|
2020-11-01 19:14:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-04 09:43:23 +01:00
|
|
|
homepage = "https://www.indilib.org/";
|
2020-11-01 19:14:33 +00:00
|
|
|
description = "Implementation of the INDI protocol for POSIX operating systems";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ hjones2199 ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
2008-01-28 19:47:23 +00:00
|
|
|
};
|
|
|
|
}
|