mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
48 lines
725 B
Nix
48 lines
725 B
Nix
{ stdenv
|
|
, fetchurl
|
|
, cmake
|
|
, cfitsio
|
|
, libusb1
|
|
, zlib
|
|
, boost
|
|
, libnova
|
|
, curl
|
|
, libjpeg
|
|
, gsl
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "indilib-1.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/indi/libindi_1.1.0.tar.gz";
|
|
sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
|
|
};
|
|
|
|
patches = [
|
|
./udev-dir.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
cfitsio
|
|
libusb1
|
|
zlib
|
|
boost
|
|
libnova
|
|
libjpeg
|
|
gsl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://www.indilib.org/";
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
description = "Implementaion of the INDI protocol for POSIX operating systems";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|