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 12:46:39 +02:00
stdenv.mkDerivation {
2021-10-29 18:27:58 +02:00
pname = "mkpasswd";
2021-11-11 17:36:54 +01:00
inherit (whois) version src;
nativeBuildInputs = [ perl pkg-config ];
buildInputs = [ libxcrypt ];
2021-10-29 18:27:58 +02: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 12:46:39 +02:00
description = "Overfeatured front-end to crypt, from the Debian whois package";
license = licenses.gpl2;
maintainers = with maintainers; [ cstrahan fpletz ];
2014-05-21 12:46:39 +02:00
platforms = platforms.linux;
};
}