nixpkgs/pkgs/development/libraries/indilib/default.nix

56 lines
894 B
Nix
Raw Normal View History

{ stdenv
, lib
2020-11-01 19:14:33 +00:00
, fetchFromGitHub
, cmake
, cfitsio
, libusb1
, zlib
, boost
, libnova
, curl
, libjpeg
, gsl
2020-11-01 19:14:33 +00:00
, fftw
}:
2020-11-01 19:14:33 +00:00
stdenv.mkDerivation rec {
pname = "indilib";
2021-01-19 00:46:29 +00:00
version = "1.8.8";
2020-11-01 19:14:33 +00:00
src = fetchFromGitHub {
owner = "indilib";
repo = "indi";
rev = "v${version}";
2021-01-19 00:46:29 +00:00
sha256 = "sha256-WTRfV6f764tDGKnQVd1jeYN/qXa/VRTFK0mMalc+9aU=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
curl
cfitsio
libusb1
zlib
boost
libnova
libjpeg
gsl
2020-11-01 19:14:33 +00:00
fftw
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DUDEVRULES_INSTALL_DIR=lib/udev/rules.d"
];
meta = with lib; {
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" ];
};
}