lol

pwgen: update meta

+19 -7
+19 -7
pkgs/tools/security/pwgen/default.nix
··· 1 - {lib, stdenv, fetchurl, autoreconfHook}: 1 + { lib 2 + , stdenv 3 + , autoreconfHook 4 + , fetchFromGitHub 5 + }: 6 + 2 7 stdenv.mkDerivation rec { 3 8 pname = "pwgen"; 4 9 version = "2.08"; 5 10 6 - src = fetchurl { 7 - url = "https://github.com/tytso/pwgen/archive/v${version}.tar.gz"; 8 - sha256 = "8d6e94f28655e61d6126290e3eafad4d17d7fba0d0d354239522a740a270bb2f"; 11 + src = fetchFromGitHub { 12 + owner = "tytso"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z"; 9 16 }; 10 17 11 - nativeBuildInputs = [ autoreconfHook ]; 18 + nativeBuildInputs = [ 19 + autoreconfHook 20 + ]; 12 21 13 - meta = { 22 + meta = with lib; { 14 23 description = "Password generator which creates passwords which can be easily memorized by a human"; 15 - platforms = lib.platforms.all; 24 + homepage = "https://github.com/tytso/pwgen"; 25 + license = licenses.gpl2Only; 26 + maintainers = with maintainers; [ fab ]; 27 + platforms = platforms.all; 16 28 }; 17 29 }