1{ lib
2, stdenv
3, autoreconfHook
4, fetchFromGitHub
5}:
6
7stdenv.mkDerivation rec {
8 pname = "pwgen";
9 version = "2.08";
10
11 src = fetchFromGitHub {
12 owner = "tytso";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z";
16 };
17
18 nativeBuildInputs = [
19 autoreconfHook
20 ];
21
22 meta = with lib; {
23 description = "Password generator which creates passwords which can be easily memorized by a human";
24 homepage = "https://github.com/tytso/pwgen";
25 license = licenses.gpl2Only;
26 maintainers = with maintainers; [ fab ];
27 platforms = platforms.all;
28 };
29}