about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/3proxy/default.nix
blob: a1e54b502289d914887fa56292e00548571d8354 (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
26
{ stdenv, fetchFromGitHub, coreutils }:

stdenv.mkDerivation rec {
  pname = "3proxy";
  version = "0.8.13";
  src = fetchFromGitHub {
    owner = "z3APA3A";
    repo = pname;
    rev = version;
    sha256 = "1k5rqldiyakhwhplazlhswkgy3psdkpxhn85605ncwaqx49qy8vk";
  };
  makeFlags = [
    "INSTALL=${coreutils}/bin/install"
    "prefix=$(out)"
  ];
  preConfigure = ''
    ln -s Makefile.Linux Makefile
  '';
  meta = with stdenv.lib; {
    description = "Tiny free proxy server";
    homepage = "https://github.com/z3APA3A/3proxy";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.misuzu ];
  };
}