diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/mkpasswd/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/mkpasswd/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/mkpasswd/default.nix b/nixpkgs/pkgs/tools/security/mkpasswd/default.nix new file mode 100644 index 000000000000..3d30fef02e29 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/mkpasswd/default.nix @@ -0,0 +1,21 @@ +{ stdenv, whois, perl }: + +stdenv.mkDerivation { + name = "mkpasswd-${whois.version}"; + + src = whois.src; + + nativeBuildInputs = [ perl ]; + + preConfigure = whois.preConfigure; + buildPhase = "make mkpasswd"; + installPhase = "make install-mkpasswd"; + + meta = with stdenv.lib; { + homepage = https://packages.qa.debian.org/w/whois.html; + description = "Overfeatured front-end to crypt, from the Debian whois package"; + license = licenses.gpl2; + maintainers = with maintainers; [ cstrahan fpletz ]; + platforms = platforms.linux; + }; +} |