bash-supergenpass: use unstableGitUpdater

This commit is contained in:
Francesco Gazzetta 2020-12-02 17:24:10 +01:00
parent 26b2ced506
commit 20eb5c38e1

View File

@ -1,8 +1,14 @@
{ stdenv, fetchFromGitHub, makeWrapper, openssl, coreutils, gnugrep }: { stdenv
, fetchFromGitHub
, unstableGitUpdater
, makeWrapper
, openssl
, coreutils
, gnugrep }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "bash-supergenpass-unstable"; pname = "bash-supergenpass";
version = "2018-04-18"; version = "unstable-2018-04-18";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -18,6 +24,8 @@ stdenv.mkDerivation {
wrapProgram "$out/bin/supergenpass" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnugrep ]}" wrapProgram "$out/bin/supergenpass" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnugrep ]}"
''; '';
passthru.updateScript = unstableGitUpdater { };
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Bash shell-script implementation of SuperGenPass password generation"; description = "Bash shell-script implementation of SuperGenPass password generation";
longDescription = '' longDescription = ''
@ -36,4 +44,3 @@ stdenv.mkDerivation {
homepage = "https://github.com/lanzz/bash-supergenpass"; homepage = "https://github.com/lanzz/bash-supergenpass";
}; };
} }