summaryrefslogtreecommitdiff
path: root/pkgs/pass-tail/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/pass-tail/default.nix')
-rw-r--r--pkgs/pass-tail/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/pass-tail/default.nix b/pkgs/pass-tail/default.nix
new file mode 100644
index 0000000..e664a93
--- /dev/null
+++ b/pkgs/pass-tail/default.nix
@@ -0,0 +1,25 @@
+{
+ fetchFromGitHub,
+ lib,
+ stdenv,
+}:
+stdenv.mkDerivation {
+ pname = "pass-tail";
+ version = "master-20220426";
+
+ src = fetchFromGitHub {
+ repo = "pass-extension-tail";
+ owner = "palortoff";
+
+ rev = "e8455bc0ada9b25722d2826063b1dfdc521d5b24";
+ hash = "sha256-62jTEbNuNZr6g6zvqUdfeseGNnn8Z1s3cY7i5U+a4PU=";
+ };
+
+ installPhase = ''
+ runHook preInstall
+
+ make install PREFIX=$out BASHCOMPDIR=$out/share/bash-completion/completions
+
+ runHook postInstall
+ '';
+}