nixpkgs/pkgs/tools/security/mkpasswd/default.nix

23 lines
615 B
Nix
Raw Normal View History

{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
2014-05-21 11:46:39 +01:00
stdenv.mkDerivation {
name = "mkpasswd-${whois.version}";
src = whois.src;
nativeBuildInputs = [ perl pkg-config ];
buildInputs = [ libxcrypt ];
preConfigure = whois.preConfigure;
buildPhase = "make mkpasswd";
installPhase = "make install-mkpasswd";
meta = with lib; {
homepage = "https://packages.qa.debian.org/w/whois.html";
2014-05-21 11:46:39 +01:00
description = "Overfeatured front-end to crypt, from the Debian whois package";
license = licenses.gpl2;
maintainers = with maintainers; [ cstrahan fpletz ];
2014-05-21 11:46:39 +01:00
platforms = platforms.linux;
};
}