Skip to content

Commit 1d16383

Browse files
fgazMic92
authored andcommittedSep 26, 2017
bash-supergenpass: init at 2012-11-02 (#29797)
* Add fgaz to mantainers * bash-supergenpass: init at 2012-11-02
1 parent 472bb96 commit 1d16383

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed
 

‎lib/maintainers.nix

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
fadenb = "Tristan Helmich <tristan.helmich+nixos@gmail.com>";
201201
falsifian = "James Cook <james.cook@utoronto.ca>";
202202
fare = "Francois-Rene Rideau <fahree@gmail.com>";
203+
fgaz = "Francesco Gazzetta <francygazz@gmail.com>";
203204
florianjacob = "Florian Jacob <projects+nixos@florianjacob.de>";
204205
flosse = "Markus Kohlhase <mail@markus-kohlhase.de>";
205206
fluffynukeit = "Daniel Austin <dan@fluffynukeit.com>";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{ stdenv, fetchFromGitHub, makeWrapper, openssl, coreutils, gnugrep }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "bash-supergenpass-unstable-${version}";
5+
version = "2012-11-02";
6+
7+
nativeBuildInputs = [ makeWrapper ];
8+
9+
src = fetchFromGitHub {
10+
owner = "lanzz";
11+
repo = "bash-supergenpass";
12+
rev = "c84eaa22fb59ab6c390e7f2de7984513347e3a9a";
13+
sha256 = "0d3l55kdrf6arb98vwwz9ww55ing5w323fg7546v56hlq3hs5qc9";
14+
};
15+
16+
installPhase = ''
17+
install -m755 -D supergenpass.sh "$out/bin/supergenpass"
18+
wrapProgram "$out/bin/supergenpass" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnugrep ]}"
19+
'';
20+
21+
meta = with stdenv.lib; {
22+
description = "Bash shell-script implementation of SuperGenPass password generation";
23+
longDescription = ''
24+
Bash shell-script implementation of SuperGenPass password generation
25+
Usage: ./supergenpass.sh <domain> [ <length> ]
26+
27+
Default <length> is 10, which is also the original SuperGenPass default length.
28+
29+
The <domain> parameter is also optional, but it does not make much sense to omit it.
30+
31+
supergenpass will ask for your master password interactively, and it will not be displayed on your terminal.
32+
'';
33+
license = licenses.mit;
34+
platforms = platforms.linux;
35+
maintainers = with maintainers; [ fgaz ];
36+
homepage = https://github.com/lanzz/bash-supergenpass;
37+
};
38+
}
39+

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,8 @@ with pkgs;
11521152

11531153
stagit = callPackage ../development/tools/stagit { };
11541154

1155+
bash-supergenpass = callPackage ../tools/security/bash-supergenpass { };
1156+
11551157
syscall_limiter = callPackage ../os-specific/linux/syscall_limiter {};
11561158

11571159
syslogng = callPackage ../tools/system/syslog-ng { };

0 commit comments

Comments
 (0)
Please sign in to comment.