Unverified Commit 842704c7 authored by hqurve's avatar hqurve Committed by Sandro Jäckel
Browse files

labplot: init at 2.10.0

parent abf66be4
Loading
Loading
Loading
Loading
+106 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, cmake
, extra-cmake-modules
, shared-mime-info
, wrapQtAppsHook

, qtbase

, karchive
, kcompletion
, kconfig
, kcoreaddons
, kcrash
, kdoctools
, ki18n
, kiconthemes
, kio
, knewstuff
, kparts
, ktextwidgets
, kxmlgui
, syntax-highlighting

, gsl

, poppler
, fftw
, hdf5
, netcdf
, cfitsio
, libcerf
, cantor
, zlib
, lz4
, readstat
, matio
, qtserialport
, discount
}:

stdenv.mkDerivation rec {
  pname = "labplot";
  version = "2.10.0";

  src = fetchurl {
    url = "https://download.kde.org/stable/labplot/labplot-${version}.tar.xz";
    sha256 = "sha256-XfxnQxCQSkOHXWnj4mCh/t2WjmwbHs2rp1WrGqOMupA=";
  };

  cmakeFlags = [
    # Disable Vector BLF since it depends on DBC parser which fails to be detected
    "-DENABLE_VECTOR_BLF=OFF"
  ];

  nativeBuildInputs = [
    cmake
    extra-cmake-modules
    shared-mime-info
    wrapQtAppsHook
  ];

  buildInputs = [
    qtbase

    karchive
    kcompletion
    kconfig
    kcoreaddons
    kcrash
    kdoctools
    ki18n
    kiconthemes
    kio
    knewstuff
    kparts
    ktextwidgets
    kxmlgui

    syntax-highlighting
    gsl

    poppler
    fftw
    hdf5
    netcdf
    cfitsio
    libcerf
    cantor
    zlib
    lz4
    readstat
    matio
    qtserialport
    discount
  ];

  meta = with lib; {
    description = "LabPlot is a FREE, open source and cross-platform Data Visualization and Analysis software accessible to everyone";
    homepage = "https://labplot.kde.org";
    license = with licenses; [ asl20 bsd3 cc-by-30 cc0 gpl2Only gpl2Plus gpl3Only gpl3Plus lgpl3Plus mit ];
    maintainers = with maintainers; [ hqurve ];
    platforms = platforms.unix;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -37533,6 +37533,8 @@ with pkgs;
  jags = callPackage ../applications/science/math/jags { };
  labplot = libsForQt5.callPackage ../applications/science/math/labplot { };
  lapack = callPackage ../build-support/alternatives/lapack { };
  lapack-ilp64 = lapack.override { isILP64 = true; };