nixpkgs/pkgs/tools/filesystems/kio-admin/default.nix
2023-02-08 16:37:47 +03:00

26 lines
780 B
Nix

{ lib, stdenv, fetchFromGitLab, cmake, extra-cmake-modules, qtbase, wrapQtAppsHook, kio, ki18n, polkit-qt }:
stdenv.mkDerivation rec {
pname = "kio-admin";
version = "1.0.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "system";
repo = "kio-admin";
rev = "v${version}";
hash = "sha256-llnUsOttqFJVArJdZS9s6qHS9eGbdtdoaPMXKHtsUn4=";
};
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
buildInputs = [ qtbase kio ki18n polkit-qt ];
meta = with lib; {
description = "Manage files as administrator using the admin:// KIO protocol.";
homepage = "https://invent.kde.org/system/kio-admin";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ k900 ];
};
}