2021-10-29 15:46:24 +02:00
|
|
|
{ lib, stdenv, whois, libxcrypt, perl, pkg-config }:
|
2014-05-21 12:46:39 +02:00
|
|
|
|
2015-05-25 00:53:10 +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;
|
2013-02-27 12:14:09 +01:00
|
|
|
|
2021-10-29 15:45:27 +02:00
|
|
|
nativeBuildInputs = [ perl pkg-config ];
|
2021-10-29 15:46:24 +02:00
|
|
|
buildInputs = [ libxcrypt ];
|
2013-02-27 12:14:09 +01:00
|
|
|
|
2021-10-29 18:27:58 +02:00
|
|
|
inherit (whois) preConfigure;
|
2013-02-27 12:14:09 +01:00
|
|
|
buildPhase = "make mkpasswd";
|
|
|
|
installPhase = "make install-mkpasswd";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
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;
|
2015-05-25 00:53:10 +02:00
|
|
|
maintainers = with maintainers; [ cstrahan fpletz ];
|
2014-05-21 12:46:39 +02:00
|
|
|
platforms = platforms.linux;
|
2013-02-27 12:14:09 +01:00
|
|
|
};
|
|
|
|
}
|