tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pwgen: update meta
Fabian Affolter
4 years ago
76b3e354
e1fb0c6a
+19
-7
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
pwgen
default.nix
+19
-7
pkgs/tools/security/pwgen/default.nix
···
1
1
-
{lib, stdenv, fetchurl, autoreconfHook}:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, autoreconfHook
4
4
+
, fetchFromGitHub
5
5
+
}:
6
6
+
2
7
stdenv.mkDerivation rec {
3
8
pname = "pwgen";
4
9
version = "2.08";
5
10
6
6
-
src = fetchurl {
7
7
-
url = "https://github.com/tytso/pwgen/archive/v${version}.tar.gz";
8
8
-
sha256 = "8d6e94f28655e61d6126290e3eafad4d17d7fba0d0d354239522a740a270bb2f";
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "tytso";
13
13
+
repo = pname;
14
14
+
rev = "v${version}";
15
15
+
sha256 = "1j6c6m9fcy24jn8mk989x49yk765xb26lpr8yhpiaqk206wlss2z";
9
16
};
10
17
11
11
-
nativeBuildInputs = [ autoreconfHook ];
18
18
+
nativeBuildInputs = [
19
19
+
autoreconfHook
20
20
+
];
12
21
13
13
-
meta = {
22
22
+
meta = with lib; {
14
23
description = "Password generator which creates passwords which can be easily memorized by a human";
15
15
-
platforms = lib.platforms.all;
24
24
+
homepage = "https://github.com/tytso/pwgen";
25
25
+
license = licenses.gpl2Only;
26
26
+
maintainers = with maintainers; [ fab ];
27
27
+
platforms = platforms.all;
16
28
};
17
29
}