summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2019-12-19 15:42:15 +0000
committerGitHub <noreply@github.com>2019-12-19 15:42:15 +0000
commit6210c155738d9428de24c18f0d6bd85a41918d93 (patch)
tree044237fef05a0d68298b336b764ed2ad7e25567b /pkgs/applications/networking
parentc3b0e1268a3786b0ec00f1bd6accca5b1d57d550 (diff)
parent823d6698bb1802e673bd0f02a97d8ac0606c1b4f (diff)
downloadnixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar.gz
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar.bz2
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar.lz
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar.xz
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.tar.zst
nixpkgs-6210c155738d9428de24c18f0d6bd85a41918d93.zip
Merge pull request #67507 from misuzu/package-3proxy
3proxy: init at 0.8.13
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/3proxy/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/networking/3proxy/default.nix b/pkgs/applications/networking/3proxy/default.nix
new file mode 100644
index 00000000000..a1e54b50228
--- /dev/null
+++ b/pkgs/applications/networking/3proxy/default.nix
@@ -0,0 +1,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 ];
+  };
+}