Skip to content

Commit

Permalink
bash-supergenpass: use unstableGitUpdater
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz committed Dec 2, 2020
1 parent 26b2ced commit 20eb5c3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions pkgs/tools/security/bash-supergenpass/default.nix
@@ -1,8 +1,14 @@
{ stdenv, fetchFromGitHub, makeWrapper, openssl, coreutils, gnugrep }:
{ stdenv
, fetchFromGitHub
, unstableGitUpdater
, makeWrapper
, openssl
, coreutils
, gnugrep }:

stdenv.mkDerivation {
pname = "bash-supergenpass-unstable";
version = "2018-04-18";
pname = "bash-supergenpass";
version = "unstable-2018-04-18";

nativeBuildInputs = [ makeWrapper ];

Expand All @@ -18,6 +24,8 @@ stdenv.mkDerivation {
wrapProgram "$out/bin/supergenpass" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnugrep ]}"
'';

passthru.updateScript = unstableGitUpdater { };

meta = with stdenv.lib; {
description = "Bash shell-script implementation of SuperGenPass password generation";
longDescription = ''
Expand All @@ -36,4 +44,3 @@ stdenv.mkDerivation {
homepage = "https://github.com/lanzz/bash-supergenpass";
};
}

0 comments on commit 20eb5c3

Please sign in to comment.