about summary refs log tree commit diff
path: root/pkgs/applications/kde
diff options
context:
space:
mode:
authorAndré Vitor de Lima Matos <andre.vmatos@gmail.com>2022-08-19 08:00:42 -0300
committerPeter Hoeg <peter@hoeg.com>2022-08-26 11:34:11 +0800
commit3759e4ac86b6a6b03643d3b8522b139403f5e185 (patch)
tree55836d4ff75277ad8de680ba8fbb6b7d81fd5d7f /pkgs/applications/kde
parentd4f0548f35f3c8a3d3d7f20e70031aa1a5c7e2b9 (diff)
ksanecore: init 22.08.0
new dependency of libksane
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r--pkgs/applications/kde/default.nix1
-rw-r--r--pkgs/applications/kde/ksanecore.nix15
-rw-r--r--pkgs/applications/kde/libksane.nix5
3 files changed, 19 insertions, 2 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix
index 29bfaecd0a63d..8414db45d59ab 100644
--- a/pkgs/applications/kde/default.nix
+++ b/pkgs/applications/kde/default.nix
@@ -186,6 +186,7 @@ let
       kreversi = callPackage ./kreversi.nix {};
       krfb = callPackage ./krfb.nix {};
       kruler = callPackage ./kruler.nix {};
+      ksanecore = callPackage ./ksanecore.nix {};
       kshisen = callPackage ./kshisen.nix {};
       ksmtp = callPackage ./ksmtp {};
       kspaceduel = callPackage ./kspaceduel.nix {};
diff --git a/pkgs/applications/kde/ksanecore.nix b/pkgs/applications/kde/ksanecore.nix
new file mode 100644
index 0000000000000..4ba18ffca1dff
--- /dev/null
+++ b/pkgs/applications/kde/ksanecore.nix
@@ -0,0 +1,15 @@
+{
+  mkDerivation, lib,
+  extra-cmake-modules, qtbase,
+  ki18n, sane-backends
+}:
+
+mkDerivation {
+  pname = "ksanecore";
+  nativeBuildInputs = [ extra-cmake-modules ];
+  buildInputs = [ qtbase ki18n sane-backends ];
+  meta = with lib; {
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ andrevmatos ];
+  };
+}
diff --git a/pkgs/applications/kde/libksane.nix b/pkgs/applications/kde/libksane.nix
index 79274d4396f49..8dee898412b88 100644
--- a/pkgs/applications/kde/libksane.nix
+++ b/pkgs/applications/kde/libksane.nix
@@ -2,7 +2,7 @@
   mkDerivation, lib,
   extra-cmake-modules, qtbase,
   ki18n, ktextwidgets, kwallet, kwidgetsaddons,
-  sane-backends
+  ksanecore, sane-backends
 }:
 
 mkDerivation {
@@ -12,5 +12,6 @@ mkDerivation {
     maintainers = with maintainers; [ polendri ];
   };
   nativeBuildInputs = [ extra-cmake-modules ];
-  buildInputs = [ qtbase ki18n ktextwidgets kwallet kwidgetsaddons sane-backends ];
+  buildInputs = [ qtbase ki18n ktextwidgets kwallet kwidgetsaddons ];
+  propagatedBuildInputs = [ ksanecore sane-backends ];
 }