pwgen: cleanup

This commit is contained in:
Sandro Jäckel 2021-07-29 14:41:27 +02:00
parent 61f5b6271d
commit 7803a33a62
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,17 +1,22 @@
{lib, stdenv, fetchurl, autoreconfHook}:
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
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 = "pwgen";
rev = "v${version}";
sha256 = "8d6e94f58655e61d6126290e3eafad4d17d7fba0d0d354239522a740a270bb2f";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
meta = with lib; {
description = "Password generator which creates passwords which can be easily memorized by a human";
platforms = lib.platforms.all;
maintainers = with maintainers; [ ];
license = with licenses; [ gpl2Only ];
platforms = platforms.all;
};
}