3
0
Fork 0
forked from mirrors/nixpkgs

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 {
pname = "bash-supergenpass-unstable";
version = "2018-04-18";
pname = "bash-supergenpass";
version = "unstable-2018-04-18";
nativeBuildInputs = [ makeWrapper ];
@ -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 = ''
@ -36,4 +44,3 @@ stdenv.mkDerivation {
homepage = "https://github.com/lanzz/bash-supergenpass";
};
}