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
605 B
Nix
Raw Normal View History

{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
2014-05-21 11:46:39 +01:00
stdenv.mkDerivation {
2021-10-29 17:27:58 +01:00
pname = "mkpasswd";
2021-11-11 16:36:54 +00:00
inherit (whois) version src;
nativeBuildInputs = [ perl pkg-config ];
buildInputs = [ libxcrypt ];
2021-10-29 17:27:58 +01: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 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;
};
}