Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bash-supergenpass: init at 2012-11-02 (#29797)
* Add fgaz to mantainers * bash-supergenpass: init at 2012-11-02
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ stdenv, fetchFromGitHub, makeWrapper, openssl, coreutils, gnugrep }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "bash-supergenpass-unstable-${version}"; | ||
version = "2012-11-02"; | ||
|
||
nativeBuildInputs = [ makeWrapper ]; | ||
|
||
src = fetchFromGitHub { | ||
owner = "lanzz"; | ||
repo = "bash-supergenpass"; | ||
rev = "c84eaa22fb59ab6c390e7f2de7984513347e3a9a"; | ||
sha256 = "0d3l55kdrf6arb98vwwz9ww55ing5w323fg7546v56hlq3hs5qc9"; | ||
}; | ||
|
||
installPhase = '' | ||
install -m755 -D supergenpass.sh "$out/bin/supergenpass" | ||
wrapProgram "$out/bin/supergenpass" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnugrep ]}" | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Bash shell-script implementation of SuperGenPass password generation"; | ||
longDescription = '' | ||
Bash shell-script implementation of SuperGenPass password generation | ||
Usage: ./supergenpass.sh <domain> [ <length> ] | ||
Default <length> is 10, which is also the original SuperGenPass default length. | ||
The <domain> parameter is also optional, but it does not make much sense to omit it. | ||
supergenpass will ask for your master password interactively, and it will not be displayed on your terminal. | ||
''; | ||
license = licenses.mit; | ||
platforms = platforms.linux; | ||
maintainers = with maintainers; [ fgaz ]; | ||
homepage = https://github.com/lanzz/bash-supergenpass; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters