mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
54 lines
831 B
Nix
54 lines
831 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, cfitsio
|
|
, libusb1
|
|
, zlib
|
|
, boost
|
|
, libnova
|
|
, curl
|
|
, libjpeg
|
|
, gsl
|
|
, fftw
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "indilib";
|
|
version = "1.8.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "indilib";
|
|
repo = "indi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-WTRfV6f764tDGKnQVd1jeYN/qXa/VRTFK0mMalc+9aU=";
|
|
};
|
|
|
|
patches = [
|
|
./udev-dir.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
cfitsio
|
|
libusb1
|
|
zlib
|
|
boost
|
|
libnova
|
|
libjpeg
|
|
gsl
|
|
fftw
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.indilib.org/";
|
|
description = "Implementation of the INDI protocol for POSIX operating systems";
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ hjones2199 ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|