summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-08-01 13:46:22 +0200
committerlassulus <git@lassul.us>2023-08-01 13:46:22 +0200
commite1670d57f4a01cd3e8bcd1953fd907557ac058eb (patch)
tree568aa81d72d62815993002bfa9ec5e25246c00ff
parentd3ad361ec52d8f963178646e8bac6ca587644c8c (diff)
parentf091cd5e03b5abed95c68c80a4df8af2dbcabedc (diff)
Merge remote-tracking branch 'ni/master'
-rw-r--r--krebs/5pkgs/simple/brain/default.nix12
-rw-r--r--krebs/5pkgs/simple/ircaids/default.nix4
2 files changed, 13 insertions, 3 deletions
diff --git a/krebs/5pkgs/simple/brain/default.nix b/krebs/5pkgs/simple/brain/default.nix
index 9b125862b..bf52da75f 100644
--- a/krebs/5pkgs/simple/brain/default.nix
+++ b/krebs/5pkgs/simple/brain/default.nix
@@ -1,4 +1,4 @@
-{ pass, write, writeDash, ... }:
+{ pass, runCommand, write, writeDash, ... }:
write "brain" {
"/bin/brain".link = writeDash "brain" ''
@@ -9,4 +9,14 @@ write "brain" {
PASSWORD_STORE_DIR=$HOME/brain \
exec ${pass}/bin/passmenu $@
'';
+ "/share/bash-completion/completions/brain".link =
+ runCommand "brain-completions" {
+ } /* sh */ ''
+ sed -r '
+ s/\<_pass?(_|\>)/_brain\1/g
+ s/\<__password_store/_brain/g
+ s/\<pass\>/brain/
+ s/\$HOME\/\.password-store/$HOME\/brain/
+ ' < ${pass}/share/bash-completion/completions/pass > $out
+ '';
}
diff --git a/krebs/5pkgs/simple/ircaids/default.nix b/krebs/5pkgs/simple/ircaids/default.nix
index 22281161d..3a3772e14 100644
--- a/krebs/5pkgs/simple/ircaids/default.nix
+++ b/krebs/5pkgs/simple/ircaids/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "ircaids";
- version = "1.3.0";
+ version = "1.4.1";
src = pkgs.fetchgit {
url = "https://cgit.krebsco.de/ircaids";
rev = "refs/tags/${version}";
- sha256 = "128ryfl0prpc1789hhqw2mq16zy3jd82a24k6hkw7nj71hifzr3a";
+ hash = "sha256-j16RLB3dIiynQqcbcK52MFk/2vStQBp1xkSwKItSYCM=";
};
buildPhase = null;