about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/pwgen/default.nix
blob: 7870add420b09490ba7a2fb1bc8050e77b0a46cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
  pname = "pwgen";
  version = "2.08";

  src = fetchFromGitHub {
    owner = "tytso";
    repo = pname;
    rev = "v${version}";
    sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z";
  };

  nativeBuildInputs = [
    autoreconfHook
  ];

  meta = with lib; {
    description = "Password generator which creates passwords which can be easily memorized by a human";
    homepage = "https://github.com/tytso/pwgen";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ fab ];
    platforms = platforms.all;
  };
}