nixpkgs/pkgs/tools/networking/jwhois/default.nix
Lluís Batlle i Rossell afe142e963 Making jwhois connect fine for those without ipv6 network.
svn path=/nixpkgs/trunk/; revision=29519
2011-09-28 07:25:59 +00:00

21 lines
487 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "jwhois-4.0";
src = fetchurl {
url = mirror://gnu/jwhois/jwhois-4.0.tar.gz;
sha256 = "0knn7iaj5v0n6jpmldyv2yk4bcy9dn3kywmv63bwc5drh9kvi6zs";
};
postInstall = "ln -s jwhois $out/bin/whois";
patches = [ ./connect.patch ];
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";
};
}