summary refs log tree commit diff
path: root/pkgs/tools/networking/jwhois/default.nix
blob: 54d8acd321384ceec4ff4f1b5159d5b0b3e2b544 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{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";
  };
}