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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
604 B
Nix
Raw Normal View History

{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
2014-05-21 10:46:39 +00:00
stdenv.mkDerivation {
2021-10-29 16:27:58 +00:00
pname = "mkpasswd";
2021-11-11 16:36:54 +00:00
inherit (whois) version src;
nativeBuildInputs = [ perl pkg-config ];
buildInputs = [ libxcrypt ];
2021-10-29 16:27:58 +00:00
inherit (whois) preConfigure;
buildPhase = "make mkpasswd";
installPhase = "make install-mkpasswd";
meta = with lib; {
homepage = "https://packages.qa.debian.org/w/whois.html";
2014-05-21 10:46:39 +00:00
description = "Overfeatured front-end to crypt, from the Debian whois package";
license = licenses.gpl2;
maintainers = with maintainers; [ cstrahan fpletz ];
2022-11-22 15:27:35 +00:00
platforms = platforms.unix;
};
}