at v192 31 lines 801 B view raw
1{ stdenv, fetchurl, cmake, pkgconfig 2, qt5, gsl, getdata, netcdf, muparser, matio 3}: 4stdenv.mkDerivation rec { 5 name = "Kst-2.0.8"; 6 src = fetchurl { 7 url = "mirror://sourceforge/kst/${name}.tar.gz"; 8 sha256 = "1ihqmwqw0h2p7hn5shd8iwb0gd4axybs60lgw22ijxqh6wzgvyyf"; 9 }; 10 11 nativeBuildInputs = [ cmake pkgconfig ]; 12 buildInputs = [ qt5.base gsl getdata netcdf muparser matio ]; 13 14 cmakeFlags = "-Dkst_qt5=1 -Dkst_release=1"; 15 16 postInstall = '' 17 mkdir -p $out 18 for d in bin lib share 19 do 20 cp -r INSTALLED/$d $out/ 21 done 22 ''; 23 24 meta = with stdenv.lib; { 25 description = "Real-time large-dataset viewing and plotting tool"; 26 homepage = https://kst-plot.kde.org/; 27 license = licenses.gpl2; 28 platforms = platforms.all; 29 maintainers = [ maintainers.vbgl ]; 30 }; 31}