mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
pwgen: update meta
This commit is contained in:
parent
e1fb0c6afb
commit
76b3e3540b
1 changed files with 19 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue