2021-02-05 17:12:51 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, cmake, extra-cmake-modules, qtbase,
|
2020-04-24 23:36:52 +00:00
|
|
|
kcoreaddons, kdoctools, ki18n, kio, kxmlgui, ktextwidgets,
|
|
|
|
libksane
|
|
|
|
}:
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "skanlite";
|
|
|
|
version = "2.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-09 03:18:52 +00:00
|
|
|
url = "mirror://kde/stable/skanlite/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-10-16 20:44:37 +00:00
|
|
|
sha256 = "VP7MOZdUe64XIVr3r0aKIl1IPds3vjBTZzOS3N3VhOQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
kcoreaddons kdoctools ki18n kio kxmlgui ktextwidgets
|
|
|
|
libksane
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "KDE simple image scanning application";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://apps.kde.org/skanlite";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ pshendry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|