1{ stdenv, fetchurl, bison, libuuid, curl, libxml2, flex }:
2
3stdenv.mkDerivation rec {
4 version = "3.19.1";
5 name = "libdap-${version}";
6
7 nativeBuildInputs = [ bison flex ];
8 buildInputs = [ libuuid curl libxml2 ];
9
10 src = fetchurl {
11 url = "http://www.opendap.org/pub/source/${name}.tar.gz";
12 sha256 = "0gnki93z3kkzp65x7n1kancy7bd503j4qja5fhzvm1gkmi5l65aj";
13 };
14
15 meta = with stdenv.lib; {
16 description = "A C++ SDK which contains an implementation of DAP";
17 homepage = https://www.opendap.org/download/libdap;
18 license = licenses.lgpl2;
19 maintainers = [ maintainers.bzizou ];
20 platforms = platforms.linux;
21 };
22}