biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / science / math / labplot / default.nix
blob8bb667e1a8faca248483add02935e2e84d2528ec
1 { lib
2 , stdenv
3 , fetchurl
4 , cmake
5 , extra-cmake-modules
6 , shared-mime-info
7 , wrapQtAppsHook
9 , qtbase
11 , karchive
12 , kcompletion
13 , kconfig
14 , kcoreaddons
15 , kcrash
16 , kdoctools
17 , ki18n
18 , kiconthemes
19 , kio
20 , knewstuff
21 , kparts
22 , ktextwidgets
23 , kxmlgui
24 , syntax-highlighting
26 , gsl
28 , poppler
29 , fftw
30 , hdf5
31 , netcdf
32 , cfitsio
33 , libcerf
34 , cantor
35 , zlib
36 , lz4
37 , readstat
38 , matio
39 , qtserialport
40 , discount
43 stdenv.mkDerivation rec {
44   pname = "labplot";
45   version = "2.10.1";
47   src = fetchurl {
48     url = "mirror://kde/stable/labplot/labplot-${version}.tar.xz";
49     sha256 = "sha256-K24YFRfPtuDf/3uJXz6yDHzjWeZzLThUXgdXya6i2u8=";
50   };
52   cmakeFlags = [
53     # Disable Vector BLF since it depends on DBC parser which fails to be detected
54     "-DENABLE_VECTOR_BLF=OFF"
55   ];
57   nativeBuildInputs = [
58     cmake
59     extra-cmake-modules
60     shared-mime-info
61     wrapQtAppsHook
62   ];
64   buildInputs = [
65     qtbase
67     karchive
68     kcompletion
69     kconfig
70     kcoreaddons
71     kcrash
72     kdoctools
73     ki18n
74     kiconthemes
75     kio
76     knewstuff
77     kparts
78     ktextwidgets
79     kxmlgui
81     syntax-highlighting
82     gsl
84     poppler
85     fftw
86     hdf5
87     netcdf
88     cfitsio
89     libcerf
90     cantor
91     zlib
92     lz4
93     readstat
94     matio
95     qtserialport
96     discount
97   ];
99   meta = with lib; {
100     description = "LabPlot is a FREE, open source and cross-platform Data Visualization and Analysis software accessible to everyone";
101     homepage = "https://labplot.kde.org";
102     license = with licenses; [ asl20 bsd3 cc-by-30 cc0 gpl2Only gpl2Plus gpl3Only gpl3Plus lgpl3Plus mit ];
103     maintainers = with maintainers; [ hqurve ];
104     mainProgram = "labplot2";
105     platforms = platforms.unix;
106   };