summary refs log tree commit diff
path: root/pkgs/tools/networking/socat/1.6.0.1.nix
blob: 8840d134773f1896e47b2936cbda6c6e9176a059 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
args : with args; 
rec {
  src = /* Here a fetchurl expression goes */
  fetchurl {
    url = http://www.dest-unreach.org/socat/download/socat-1.6.0.1.tar.bz2;
    sha256 = "1cl7kf0rnbvjxz8vdkmdh1crd069qmz1jjw40r8bydgpn0nsh6qd";
  };

  buildInputs = [openssl];
  configureFlags = [];

  /* doConfigure should be specified separately */
  phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
      
  name = "socat-" + version;
  meta = {
    description = "Socat - a different replacement for netcat";
    longDesc = "
        Socat, one more analogue of netcat, but not mimicking it.
	'netcat++' (extended design, new implementation)
";
        homepage = "http://www.dest-unreach.org/socat/";
	srcs = patches;
  };
}