pwgen: update meta

This commit is contained in:
Fabian Affolter 2021-08-22 11:50:07 +02:00
parent e1fb0c6afb
commit 76b3e3540b

View File

@ -1,17 +1,29 @@
{lib, stdenv, fetchurl, autoreconfHook}:
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "pwgen";
version = "2.08";
src = fetchurl {
url = "https://github.com/tytso/pwgen/archive/v${version}.tar.gz";
sha256 = "8d6e94f28655e61d6126290e3eafad4d17d7fba0d0d354239522a740a270bb2f";
src = fetchFromGitHub {
owner = "tytso";
repo = pname;
rev = "v${version}";
sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z";
};
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [
autoreconfHook
];
meta = {
meta = with lib; {
description = "Password generator which creates passwords which can be easily memorized by a human";
platforms = lib.platforms.all;
homepage = "https://github.com/tytso/pwgen";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
platforms = platforms.all;
};
}