nixpkgs/pkgs/tools/security/pwgen/default.nix

30 lines
625 B
Nix
Raw Normal View History

2021-08-22 09:50:07 +00:00
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "pwgen";
version = "2.08";
2021-08-22 09:50:07 +00:00
src = fetchFromGitHub {
owner = "tytso";
repo = pname;
rev = "v${version}";
sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z";
};
2017-10-30 21:19:11 +00:00
2021-08-22 09:50:07 +00:00
nativeBuildInputs = [
autoreconfHook
];
2017-10-30 21:19:11 +00:00
2021-08-22 09:50:07 +00:00
meta = with lib; {
description = "Password generator which creates passwords which can be easily memorized by a human";
2021-08-22 09:50:07 +00:00
homepage = "https://github.com/tytso/pwgen";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
platforms = platforms.all;
};
}