skanlite: move to pkgs/application/kde

This commit is contained in:
Samuel Gräfenstein 2022-02-25 14:21:47 +01:00 committed by Peter Hoeg
parent 6822d48580
commit 434bdc8e4a
5 changed files with 20 additions and 33 deletions

View file

@ -216,6 +216,7 @@ let
pim-sieve-editor = callPackage ./pim-sieve-editor.nix {}; pim-sieve-editor = callPackage ./pim-sieve-editor.nix {};
print-manager = callPackage ./print-manager.nix {}; print-manager = callPackage ./print-manager.nix {};
rocs = callPackage ./rocs.nix {}; rocs = callPackage ./rocs.nix {};
skanlite = callPackage ./skanlite.nix {};
spectacle = callPackage ./spectacle.nix {}; spectacle = callPackage ./spectacle.nix {};
yakuake = callPackage ./yakuake.nix {}; yakuake = callPackage ./yakuake.nix {};
}; };

View file

@ -0,0 +1,18 @@
{
mkDerivation, lib,
extra-cmake-modules, kdoctools,
kio, libksane
}:
mkDerivation {
pname = "skanlite";
meta = with lib; {
description = "KDE simple image scanning application";
homepage = "https://apps.kde.org/skanlite";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ polendri ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kio libksane ];
}

View file

@ -1,30 +0,0 @@
{ lib, mkDerivation, fetchurl, cmake, extra-cmake-modules, qtbase,
kcoreaddons, kdoctools, ki18n, kio, kxmlgui, ktextwidgets,
libksane
}:
mkDerivation rec {
pname = "skanlite";
version = "2.2.0";
src = fetchurl {
url = "mirror://kde/stable/skanlite/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "VP7MOZdUe64XIVr3r0aKIl1IPds3vjBTZzOS3N3VhOQ=";
};
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
buildInputs = [
qtbase
kcoreaddons kdoctools ki18n kio kxmlgui ktextwidgets
libksane
];
meta = with lib; {
description = "KDE simple image scanning application";
homepage = "https://apps.kde.org/skanlite";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ polendri ];
platforms = platforms.linux;
};
}

View file

@ -1432,7 +1432,7 @@ mapAliases ({
plasma-integration plasma-nano plasma-nm plasma-pa plasma-phone-components plasma-integration plasma-nano plasma-nm plasma-pa plasma-phone-components
plasma-systemmonitor plasma-thunderbolt plasma-vault plasma-workspace plasma-systemmonitor plasma-thunderbolt plasma-vault plasma-workspace
plasma-workspace-wallpapers polkit-kde-agent powerdevil qqc2-breeze-style plasma-workspace-wallpapers polkit-kde-agent powerdevil qqc2-breeze-style
sddm-kcm spectacle systemsettings xdg-desktop-portal-kde yakuake sddm-kcm skanlite spectacle systemsettings xdg-desktop-portal-kde yakuake
; ;
inherit (plasma5Packages.thirdParty) inherit (plasma5Packages.thirdParty)

View file

@ -28904,8 +28904,6 @@ with pkgs;
sipp = callPackage ../development/tools/misc/sipp { }; sipp = callPackage ../development/tools/misc/sipp { };
skanlite = libsForQt5.callPackage ../applications/office/skanlite { };
soci = callPackage ../development/libraries/soci { }; soci = callPackage ../development/libraries/soci { };
socialscan = with python3.pkgs; toPythonApplication socialscan; socialscan = with python3.pkgs; toPythonApplication socialscan;