nixpkgs/pkgs/development/libraries/indilib/default.nix
Jan Tojnar eb8e95294e
indilib: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.

While at it, also move cmake to nativeBuildInputs and format the expression.
2020-04-04 10:43:23 +02:00

48 lines
723 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;
};
}