krunner-pass: drop

This commit is contained in:
K900
2025-08-30 12:51:47 +03:00
parent 03279a69c4
commit 8dc328a87b
4 changed files with 1 additions and 79 deletions
@@ -1,63 +0,0 @@
{
mkDerivation,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
extra-cmake-modules,
kauth,
krunner,
pass,
}:
mkDerivation rec {
pname = "krunner-pass";
# when upgrading the version, check if cmakeFlags is still needed
version = "1.3.0";
src = fetchFromGitHub {
owner = "akermu";
repo = "krunner-pass";
rev = "v${version}";
sha256 = "032fs2174ls545kjixbhzyd65wgxkw4s5vg8b20irc5c9ak3pxm0";
};
buildInputs = [
kauth
krunner
(pass.withExtensions (p: with p; [ pass-otp ]))
];
nativeBuildInputs = [
cmake
extra-cmake-modules
];
patches = [
(fetchpatch {
url = "https://github.com/peterhoeg/krunner-pass/commit/be2695f4ae74b0cccec8294defcc92758583d96b.patch";
sha256 = "098dqnal57994p51p2srfzg4lgcd6ybp29h037llr9cdv02hdxvl";
name = "fix_build.patch";
})
./pass-path.patch
];
CXXFLAGS = [
''-DNIXPKGS_PASS=\"${lib.getBin pass}/bin/pass\"''
];
cmakeFlags = [
# there are *lots* of pointless warnings in v1.3.0
"-Wno-dev"
# required for kf5auth to work correctly
"-DCMAKE_POLICY_DEFAULT_CMP0012=NEW"
];
meta = with lib; {
description = "Integrates krunner with pass the unix standard password manager (https://www.passwordstore.org/)";
homepage = "https://github.com/akermu/krunner-pass";
license = licenses.gpl3;
maintainers = with maintainers; [ ysndr ];
platforms = platforms.unix;
};
}
@@ -1,13 +0,0 @@
diff --git a/pass.cpp b/pass.cpp
index c02f9d0..85c5b99 100644
--- a/pass.cpp
+++ b/pass.cpp
@@ -193,7 +193,7 @@ void Pass::run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &m
} else {
args << "show" << match.text();
}
- pass->start("pass", args);
+ pass->start(NIXPKGS_PASS, args);
connect(pass, static_cast<void(QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished),
[=](int exitCode, QProcess::ExitStatus exitStatus) {
+1
View File
@@ -1251,6 +1251,7 @@ mapAliases {
krename = throw "'krename' has been removed, as it is unmaintained upstream"; # Added 2025-08-30
krita-beta = throw "'krita-beta' has been renamed to/replaced by 'krita'"; # Converted to throw 2024-10-17
krun = throw "'krun' has been renamed to/replaced by 'muvm'"; # Added 2025-05-01
krunner-pass = throw "'krunner-pass' has been removed, as it only works on Plasma 5"; # Added 2025-08-30
krunner-translator = throw "'krunner-translator' has been removed, as it only works on Plasma 5"; # Added 2025-08-30
kubei = kubeclarity; # Added 2023-05-20
kubo-migrator-all-fs-repo-migrations = kubo-fs-repo-migrations; # Added 2024-09-24
-3
View File
@@ -3322,9 +3322,6 @@ with pkgs;
kio-fuse = libsForQt5.callPackage ../tools/filesystems/kio-fuse { };
krunner-pass = libsForQt5.callPackage ../tools/security/krunner-pass { };
krunvm = callPackage ../applications/virtualization/krunvm {
inherit (darwin) sigtool;
};