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

stdenv.mkDerivation rec {
  pname = "3proxy";
  version = "0.9.3";

  src = fetchFromGitHub {
    owner = "z3APA3A";
    repo = pname;
    rev = version;
    sha256 = "9aopwyz0U2bYTvx5YWLJo9EE8Xfb51IOguHRJodjpm8=";
  };

  makeFlags = [
    "-f Makefile.Linux"
    "INSTALL=${coreutils}/bin/install"
    "DESTDIR=${placeholder "out"}"
  ];

  meta = with lib; {
    description = "Tiny free proxy server";
    homepage = "https://github.com/z3APA3A/3proxy";
    license = licenses.bsd2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ misuzu ];
  };
}