1{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
2
3stdenv.mkDerivation {
4 pname = "mkpasswd";
5 inherit (whois) version src;
6
7 nativeBuildInputs = [ perl pkg-config ];
8 buildInputs = [ libxcrypt ];
9
10 inherit (whois) preConfigure;
11 buildPhase = "make mkpasswd";
12 installPhase = "make install-mkpasswd";
13
14 meta = with lib; {
15 homepage = "https://packages.qa.debian.org/w/whois.html";
16 description = "Overfeatured front-end to crypt, from the Debian whois package";
17 license = licenses.gpl2;
18 maintainers = with maintainers; [ cstrahan fpletz ];
19 platforms = platforms.unix;
20 };
21}