2015-05-25 00:53:10 +02:00
|
|
|
{ stdenv, whois, perl }:
|
2014-05-21 12:46:39 +02:00
|
|
|
|
2015-05-25 00:53:10 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "mkpasswd-${whois.version}";
|
2013-02-27 12:14:09 +01:00
|
|
|
|
2015-05-25 00:53:10 +02:00
|
|
|
src = whois.src;
|
2013-02-27 12:14:09 +01:00
|
|
|
|
2015-05-25 00:53:10 +02:00
|
|
|
buildInputs = [ perl ];
|
2013-02-27 12:14:09 +01:00
|
|
|
|
2015-05-25 00:53:10 +02:00
|
|
|
preConfigure = whois.preConfigure;
|
2013-02-27 12:14:09 +01:00
|
|
|
buildPhase = "make mkpasswd";
|
|
|
|
installPhase = "make install-mkpasswd";
|
|
|
|
|
2014-05-17 04:07:29 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 20:42:46 +01: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
|
|
|
};
|
|
|
|
}
|