8 pythonEnv = python3.withPackages (
15 stdenv.mkDerivation rec {
16 pname = "krunner-ssh";
19 src = fetchFromGitLab {
23 hash = "sha256-rFTTvmetDeN6t0axVc+8t1TRiuyPBpwqhvsq2IFxa/A=";
27 sed -e "s|Exec=.*|Exec=$out/libexec/runner.py|" -i ssh-runner.service
37 patchShebangs runner.py
39 install -m 0755 -D runner.py $out/libexec/runner.py
40 install -m 0755 -D ssh-runner.desktop $out/share/kservices5/ssh-runner.desktop
41 install -m 0755 -D ssh-runner.service $out/share/dbus-1/services/com.selfcoders.ssh-runner.service
47 description = "Simple backend for KRunner providing SSH hosts from your .ssh/known_hosts file as search results";
48 homepage = "https://selfcoders.com/projects/krunner-ssh";
49 license = licenses.mit;
50 maintainers = with maintainers; [ aanderse ];
51 platforms = platforms.linux;