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

32 lines
843 B
Nix
Raw Normal View History

2020-01-17 18:51:57 +00:00
{ stdenv, mkDerivation, fetchurl, cmake, extra-cmake-modules, qtbase,
2017-09-07 02:36:10 +00:00
kcoreaddons, kdoctools, ki18n, kio, kxmlgui, ktextwidgets,
libksane
}:
let
minorVersion = "2.0";
2020-01-17 18:51:57 +00:00
in mkDerivation rec {
2017-09-07 02:36:10 +00:00
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
];
meta = with stdenv.lib; {
description = "KDE simple image scanning application";
homepage = "http://www.kde.org/applications/graphics/skanlite/";
2017-09-07 02:36:10 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ pshendry ];
platforms = platforms.linux;
};
}