depot/third_party/nixpkgs/pkgs/tools/security/pwgen/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

30 lines
652 B
Nix

{ 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 ];
mainProgram = "pwgen";
platforms = platforms.all;
};
}