about summary refs log tree commit diff
path: root/pkgs/sternenseemann
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-05-14 14:46:20 +0200
committersternenseemann <sternenseemann@systemli.org>2023-05-14 14:46:20 +0200
commit8a049480ba427f2cfac6db2392f06c978adbfe95 (patch)
treefaa1d274e84853a6c89985b6ec376c9bbf4c992b /pkgs/sternenseemann
parentb69ca8e6f8b4cd5bf1094e63b0bdb8ff42cc027d (diff)
pkgs/sternenseemann/scripts: clean up unused attributes
Diffstat (limited to 'pkgs/sternenseemann')
-rw-r--r--pkgs/sternenseemann/scripts/default.nix24
1 files changed, 1 insertions, 23 deletions
diff --git a/pkgs/sternenseemann/scripts/default.nix b/pkgs/sternenseemann/scripts/default.nix
index 13c7a5ab..cabd8c6f 100644
--- a/pkgs/sternenseemann/scripts/default.nix
+++ b/pkgs/sternenseemann/scripts/default.nix
@@ -1,10 +1,8 @@
-# TODO(sterni): port to dash
 { lib, writeBashBin, writeText, getBins
-, libnotify
 , borgbackup, cryptsetup
 , ghostscript
 , openssl
-, perl, mandoc
+, mandoc
 , gpp
 , sternenseemann
 }:
@@ -41,9 +39,7 @@ let
       // (getBins borgbackup [ "borg" ])
       // (getBins mandoc [ "man" ])
       // (getBins openssl [ "openssl" ])
-      // (getBins perl [ "pod2man" ])
       // (getBins ghostscript [ "gs" ])
-      // (getBins libnotify [ "notify-send" ])
       ;
 
 in
@@ -54,7 +50,6 @@ in
     self.lowview
     self.pdfcombine
     self.pdfrange
-    self.xmpp-notify
     self.certprint
   ];
 
@@ -163,12 +158,6 @@ in
     lowdown -Tterm $@ | less -R
   '';
 
-  opam-env = writeBashBin "opam-env" ''
-    nix-shell -p pkgs.opam \
-      pkgs.m4 pkgs.gnumake pkgs.binutils pkgs.gcc pkgs.gmp pkgs.glib pkgs.pkg-config \
-      --command ". $HOME/.opam/opam-init/init.sh; eval \`opam config env\`; return" \
-  '';
-
   pdfcombine = writeBashBin "pdfcombine" ''
     out=$1
     shift
@@ -188,15 +177,4 @@ in
        -sOutputFile="''${3%.pdf}_p''${1}-p''${2}.pdf" \
        "''${3}"
   '';
-
-  podview = writeBashBin "podview" ''
-    ${bins.pod2man} "$1" | ${bins.man} -l
-  '';
-
-  xmpp-notify = writeBashBin "xmpp-notify" ''
-    if [[ $3 != "connect" ]]; then
-      ${bins.notify-send} "jackline" "IM received"
-      printf '\a'
-    fi
-  '';
 }