{ pkgs, lib, qtbase, qttools, wrapQtAppsHook, stdenv, pdcom ? pkgs.callPackage ./pdcom.nix {}, }: with pkgs; let version="1.5.0"; #rev = "aa943dbb6919b83cf90028fda1acbecc554177c5"; #1.4.0 rev = "bc458cc89e667d8dd03c9fdaf9d87cac7754b6a5"; #1.5.0 in stdenv.mkDerivation { name = "dls"; inherit version; src = fetchGit { url = "https://gitlab.com/etherlab.org/dls.git"; ref = "refs/tags/${version}"; inherit rev; #sha256 = "05w6k4925lwjlm0n3xp4k83ymcxrc6qzz825rv7yrh4pdgzdvwxi"; }; enableParallelBuilding = true; #nativeBuildInputs = [ wrapQtAppsHook bash pkg-config autoreconfHook ]; nativeBuildInputs = [ wrapQtAppsHook bash pkg-config cmake ]; buildInputs = [ qtbase qttools libxml2 fftw pcre zlib protobuf uriparser hdf5-cpp fltk pdcom ]; #buildInputs = [ libxcrypt expat gnutls cyrus_sasl log4cplus db libyaml ]; # cmakeFlags = [ "-DREVISION=${rev}" ]; #configureFlags = [ # "--with-fltk-dir=${fltk}" # "--with-fftw3-dir=${fftw.dev}" # "--with-zlib-dir=${zlib.dev}" #]; #makeFlags = [ "REVISION=${rev}" ]; #preAutoreconf = '' # bash bootstrap.sh #''; #preConfigure = '' # echo ${rev} > revision ## #bash bootstrap.sh ## set -e ## set -x ## touch ChangeLog ## mkdir -p autoconf #''; #preConfigure = '' # qmake # #PREFIX=$out qmake #''; meta = with lib; { description = "Acquisition, compression, storage, visualization and export of long-time data via graphical user interfaces."; platforms = platforms.linux; }; }