summary refs log tree commit diff
path: root/pkgs/applications/office/skanlite/default.nix
blob: 416c86397f86d59bdb2cdfbdd78d405fe518064f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchurl, cmake, extra-cmake-modules, qtbase,
  kcoreaddons, kdoctools, ki18n, kio, kxmlgui, ktextwidgets,
  libksane
}:

let
  minorVersion = "2.0";
in stdenv.mkDerivation rec {
  name = "skanlite-2.0.1";

  src = fetchurl {
    url    = "mirror://kde/stable/skanlite/${minorVersion}/${name}.tar.xz";
    sha256 = "0dh2v8029gkhcf3pndcxz1zk2jgpihgd30lmplgirilxdq9l2i9v";
  };

  nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];

  buildInputs = [
    qtbase
    kcoreaddons kdoctools ki18n kio kxmlgui ktextwidgets
    libksane
  ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "KDE simple image scanning application";
    homepage    = http://www.kde.org/applications/graphics/skanlite/;
    license = licenses.gpl2;
    maintainers = with maintainers; [ pshendry ];
    platforms   = platforms.linux;
  };
}