diff --git a/pkgs/development/libraries/getdata/default.nix b/pkgs/development/libraries/getdata/default.nix new file mode 100644 index 000000000000..93ecb7c05e6b --- /dev/null +++ b/pkgs/development/libraries/getdata/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl }: +stdenv.mkDerivation rec { + name = "getdata-0.8.5"; + src = fetchurl { + url = "mirror://sourceforge/getdata/${name}.tar.bz2"; + sha256 = "0km6hbv18m9g8fxdqfcmk3bjr47w856v4hbrxpd609m6rk0j40zf"; + }; + + meta = with stdenv.lib; { + description = "Reference implementation of the Dirfile Standards"; + license = licenses.lgpl21Plus; + platforms = platforms.all; + maintainers = [ maintainers.vbgl ]; + homepage = http://getdata.sourceforge.net/; + }; +} diff --git a/pkgs/development/libraries/matio/default.nix b/pkgs/development/libraries/matio/default.nix new file mode 100644 index 000000000000..da4b8a8570b9 --- /dev/null +++ b/pkgs/development/libraries/matio/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl }: +stdenv.mkDerivation rec { + name = "matio-1.5.2"; + src = fetchurl { + url = "mirror://sourceforge/matio/${name}.tar.gz"; + sha256 = "0i8xj4g1gv50y6lj3s8hasjqspaawqbrnc06lrkdghvk6gxx00nv"; + }; + + meta = with stdenv.lib; { + description = "A C library for reading and writing Matlab MAT files"; + license = licenses.bsd2; + platforms = platforms.all; + maintainers = [ maintainers.vbgl ]; + homepage = http://matio.sourceforge.net/; + }; +} diff --git a/pkgs/tools/graphics/kst/default.nix b/pkgs/tools/graphics/kst/default.nix new file mode 100644 index 000000000000..147206644277 --- /dev/null +++ b/pkgs/tools/graphics/kst/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, cmake, pkgconfig +, qt5, gsl, getdata, netcdf, muparser, matio +}: +stdenv.mkDerivation rec { + name = "Kst-2.0.8"; + src = fetchurl { + url = "mirror://sourceforge/kst/${name}.tar.gz"; + sha256 = "1ihqmwqw0h2p7hn5shd8iwb0gd4axybs60lgw22ijxqh6wzgvyyf"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ qt5 gsl getdata netcdf muparser matio ]; + + cmakeFlags = "-Dkst_qt5=1 -Dkst_release=1"; + + 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"; + homepage = https://kst-plot.kde.org/; + license = licenses.gpl2; + platforms = platforms.all; + maintainers = [ maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c39b98a6b4c7..aa50832ff006 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1549,6 +1549,8 @@ let kismet = callPackage ../applications/networking/sniffers/kismet { }; + kst = callPackage ../tools/graphics/kst { }; + less = callPackage ../tools/misc/less { }; liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { }; @@ -5184,6 +5186,8 @@ let geos = callPackage ../development/libraries/geos { }; + getdata = callPackage ../development/libraries/getdata { }; + gettext = gettext_0_18; gettext_0_17 = callPackage ../development/libraries/gettext/0.17.nix { }; @@ -6320,6 +6324,8 @@ let lzo = callPackage ../development/libraries/lzo { }; + matio = callPackage ../development/libraries/matio { }; + mdds_0_7_1 = callPackage ../development/libraries/mdds/0.7.1.nix { }; mdds = callPackage ../development/libraries/mdds { };