@@ -1,13 +1,14 @@
1−{ lib, stdenv, whois, perl }:
1+{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
22
33stdenv.mkDerivation {
4− name = "mkpasswd-${whois.version}";
4+ pname = "mkpasswd";
5+ inherit (whois) version;
6+ inherit (whois) src;
57
6− src = whois.src;
8+ nativeBuildInputs = [ perl pkg-config ];
9+ buildInputs = [ libxcrypt ];
710
8− nativeBuildInputs = [ perl ];
9−
10− preConfigure = whois.preConfigure;
11+ inherit (whois) preConfigure;
1112 buildPhase = "make mkpasswd";
1213 installPhase = "make install-mkpasswd";
1314