mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
mkpasswd: Include support for more hash methods
(Before) Available methods: sha512crypt SHA-512 sha256crypt SHA-256 md5crypt MD5 descrypt standard 56 bit DES-based crypt(3) (After) Available methods: yescrypt Yescrypt gost-yescrypt GOST Yescrypt scrypt scrypt bcrypt bcrypt bcrypt-a bcrypt (obsolete $2a$ version) sha512crypt SHA-512 sha256crypt SHA-256 sunmd5 SunMD5 md5crypt MD5 bsdicrypt BSDI extended DES-based crypt(3) descrypt standard 56 bit DES-based crypt(3) nt NT-Hash
This commit is contained in:
parent
2fedb9734d
commit
bbf70ca393
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, whois, perl, pkg-config }:
|
||||
{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mkpasswd-${whois.version}";
|
||||
|
@ -6,6 +6,7 @@ stdenv.mkDerivation {
|
|||
src = whois.src;
|
||||
|
||||
nativeBuildInputs = [ perl pkg-config ];
|
||||
buildInputs = [ libxcrypt ];
|
||||
|
||||
preConfigure = whois.preConfigure;
|
||||
buildPhase = "make mkpasswd";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue