nixpkgs-suyu/pkgs/applications/office/skanlite/default.nix

32 lines
825 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, cmake, extra-cmake-modules, qtbase,
2017-09-07 04:36:10 +02:00
kcoreaddons, kdoctools, ki18n, kio, kxmlgui, ktextwidgets,
libksane
}:
let
2020-09-25 15:21:59 +02:00
minorVersion = "2.2";
2020-01-17 19:51:57 +01:00
in mkDerivation rec {
2020-09-25 15:21:59 +02:00
name = "skanlite-2.2.0";
2017-09-07 04:36:10 +02:00
src = fetchurl {
url = "mirror://kde/stable/skanlite/${minorVersion}/${name}.tar.xz";
2020-09-25 15:21:59 +02:00
sha256 = "VP7MOZdUe64XIVr3r0aKIl1IPds3vjBTZzOS3N3VhOQ=";
2017-09-07 04:36:10 +02:00
};
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
buildInputs = [
qtbase
kcoreaddons kdoctools ki18n kio kxmlgui ktextwidgets
libksane
];
meta = with lib; {
2017-09-07 04:36:10 +02:00
description = "KDE simple image scanning application";
homepage = "http://www.kde.org/applications/graphics/skanlite/";
2017-09-07 04:36:10 +02:00
license = licenses.gpl2;
maintainers = with maintainers; [ pshendry ];
platforms = platforms.linux;
};
}