2014-11-20 17:55:25 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig
|
2015-12-20 03:48:36 +01:00
|
|
|
, qtbase, gsl, getdata, netcdf, muparser, matio
|
2014-11-20 17:55:25 +01:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "Kst-2.0.8";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/kst/${name}.tar.gz";
|
|
|
|
sha256 = "1ihqmwqw0h2p7hn5shd8iwb0gd4axybs60lgw22ijxqh6wzgvyyf";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2015-12-20 03:48:36 +01:00
|
|
|
buildInputs = [ qtbase gsl getdata netcdf muparser matio ];
|
2014-11-20 17:55:25 +01:00
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
cmakeFlags = [ "-Dkst_qt5=1" "-Dkst_release=1" ];
|
2014-11-20 17:55:25 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out
|
|
|
|
for d in bin lib share
|
|
|
|
do
|
|
|
|
cp -r INSTALLED/$d $out/
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Real-time large-dataset viewing and plotting tool";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://kst-plot.kde.org/";
|
2014-11-20 17:55:25 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2016-05-08 23:21:33 +02:00
|
|
|
broken = true;
|
2014-11-20 17:55:25 +01:00
|
|
|
};
|
|
|
|
}
|