2015-07-08 07:33:00 +02:00
|
|
|
{stdenv, lynx, fetchurl}:
|
2007-08-28 16:45:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jwhois-4.0";
|
2015-07-08 07:33:00 +02:00
|
|
|
|
2007-08-28 16:45:00 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://gnu/jwhois/jwhois-4.0.tar.gz;
|
|
|
|
sha256 = "0knn7iaj5v0n6jpmldyv2yk4bcy9dn3kywmv63bwc5drh9kvi6zs";
|
|
|
|
};
|
|
|
|
|
2015-07-08 07:33:00 +02:00
|
|
|
postInstall = ''
|
|
|
|
ln -s jwhois $out/bin/whois
|
|
|
|
sed -i -e "s|/usr/bin/lynx|${lynx}/bin/lynx|g" $out/etc/jwhois.conf
|
|
|
|
'';
|
2007-08-28 16:45:00 +02:00
|
|
|
|
2011-09-28 09:25:59 +02:00
|
|
|
patches = [ ./connect.patch ];
|
|
|
|
|
2007-08-28 16:45:00 +02:00
|
|
|
meta = {
|
|
|
|
description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";
|
|
|
|
homepage = http://www.gnu.org/software/jwhois/;
|
|
|
|
license = "GPL";
|
2015-03-23 11:51:59 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-08-28 16:45:00 +02:00
|
|
|
};
|
|
|
|
}
|