2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "mkpasswd";
|
|
|
|
inherit (whois) version src;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
nativeBuildInputs = [ perl pkg-config ];
|
|
|
|
buildInputs = [ libxcrypt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit (whois) preConfigure;
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPhase = "make mkpasswd";
|
|
|
|
installPhase = "make install-mkpasswd";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://packages.qa.debian.org/w/whois.html";
|
|
|
|
description = "Overfeatured front-end to crypt, from the Debian whois package";
|
|
|
|
license = licenses.gpl2;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2022-11-27 09:42:12 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|