about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/skanpage/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/graphics/skanpage/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/graphics/skanpage/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/graphics/skanpage/default.nix b/nixpkgs/pkgs/applications/graphics/skanpage/default.nix
new file mode 100644
index 000000000000..17a228808972
--- /dev/null
+++ b/nixpkgs/pkgs/applications/graphics/skanpage/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, mkDerivation
+, fetchurl
+, extra-cmake-modules
+, kirigami2
+, ktextwidgets
+, libksane
+, qtquickcontrols2
+}:
+
+mkDerivation rec {
+  pname = "skanpage";
+  version = "1.0.0";
+
+  src = fetchurl {
+    url = "mirror://kde/stable/skanpage/${version}/${pname}-${version}.tar.xz";
+    hash = "sha256-kPVAG64oPkKF3ztHB4V7M2xc1AcvwiHnYpMMLMQNYGA=";
+  };
+
+  nativeBuildInputs = [ extra-cmake-modules ];
+
+  buildInputs = [
+    kirigami2
+    ktextwidgets
+    libksane
+    qtquickcontrols2
+  ];
+
+  meta = with lib; {
+    description = "KDE utility to scan images and multi-page documents";
+    homepage = "https://apps.kde.org/skanpage";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ samuelgrf ];
+    platforms = platforms.linux;
+  };
+}