blob: e1bdca3454351ba5ee3c434b609add5e89201483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, fetchzip
, libxcrypt
, linux-pam
, stdenv
}:
stdenv.mkDerivation rec {
pname = "passwdqc";
version = "2.0.3";
src = fetchzip {
url = "https://www.openwall.com/passwdqc/passwdqc-${version}.tar.gz";
hash = "sha256-EgPeccqS+DDDMBVMc4bd70EMnXFuyglftxuqoaYHwNY=";
};
buildInputs = [
linux-pam
libxcrypt
];
makeFlags = [
"DESTDIR=$(out)"
"BINDIR=/bin"
"DEVEL_LIBDIR=/lib"
"INCLUDEDIR=/include"
];
meta = with lib; {
description = "password/passphrase strength checking and enforcement";
homepage = "https://www.openwall.com/passwdqc/";
license = licenses.bsd0;
platforms = platforms.linux;
maintainers = [ maintainers.simsor ];
};
}
|