about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/kpmcore/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/kpmcore/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/kpmcore/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/nixpkgs/pkgs/development/libraries/kpmcore/default.nix b/nixpkgs/pkgs/development/libraries/kpmcore/default.nix
deleted file mode 100644
index 260a94e06ade..000000000000
--- a/nixpkgs/pkgs/development/libraries/kpmcore/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ stdenv
-, lib
-, fetchurl
-, extra-cmake-modules
-, qca-qt5
-, kauth
-, kio
-, polkit-qt
-, util-linux
-}:
-
-stdenv.mkDerivation rec {
-  pname = "kpmcore";
-  # NOTE: When changing this version, also change the version of `partition-manager`.
-  version = "23.04.1";
-
-  src = fetchurl {
-    url = "mirror://kde/stable/release-service/${version}/src/${pname}-${version}.tar.xz";
-    hash = "sha256-NFIq8CZwYvpqDOOYLlBqoGdgfNPsyf15FkB3dToDCB8=";
-  };
-
-  patches = [
-    ./nixostrustedprefix.patch
-  ];
-
-  nativeBuildInputs = [ extra-cmake-modules ];
-
-  buildInputs = [
-    qca-qt5
-    kauth
-    kio
-    polkit-qt
-
-    util-linux # Needs blkid in configure script (note that this is not provided by util-linux-compat)
-  ];
-
-  dontWrapQtApps = true;
-
-  preConfigure = ''
-    substituteInPlace src/util/CMakeLists.txt \
-      --replace \$\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\} $out/share/polkit-1/actions
-    substituteInPlace src/backend/corebackend.cpp \
-      --replace /usr/share/polkit-1/actions/org.kde.kpmcore.externalcommand.policy $out/share/polkit-1/actions/org.kde.kpmcore.externalcommand.policy
-  '';
-
-  meta = with lib; {
-    description = "KDE Partition Manager core library";
-    homepage = "https://invent.kde.org/system/kpmcore";
-    license = with licenses; [ cc-by-40 cc0 gpl3Plus mit ];
-    maintainers = with maintainers; [ peterhoeg oxalica ];
-  };
-}