about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-12-28 22:32:20 +0100
committerfreezeboy <freezeboy@users.noreply.github.com>2021-01-11 19:14:28 +0100
commit02e8041e721ff6fae6ccc0bce7f7e408b20373ec (patch)
treef8ff01fcb197c59e6bddb30956f0cb4b27be54a5
parent724887c85eed4570866f4bc7a65e4a77f6fcfe7a (diff)
_3proxy: 0.8.13 -> 0.9.3
-rw-r--r--pkgs/applications/networking/3proxy/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/applications/networking/3proxy/default.nix b/pkgs/applications/networking/3proxy/default.nix
index f89d6eebb5efc..6636691468ea2 100644
--- a/pkgs/applications/networking/3proxy/default.nix
+++ b/pkgs/applications/networking/3proxy/default.nix
@@ -2,25 +2,26 @@
 
 stdenv.mkDerivation rec {
   pname = "3proxy";
-  version = "0.8.13";
+  version = "0.9.3";
+
   src = fetchFromGitHub {
     owner = "z3APA3A";
     repo = pname;
     rev = version;
-    sha256 = "1k5rqldiyakhwhplazlhswkgy3psdkpxhn85605ncwaqx49qy8vk";
+    sha256 = "9aopwyz0U2bYTvx5YWLJo9EE8Xfb51IOguHRJodjpm8=";
   };
+
   makeFlags = [
+    "-f Makefile.Linux"
     "INSTALL=${coreutils}/bin/install"
-    "prefix=$(out)"
+    "DESTDIR=${placeholder "out"}"
   ];
-  preConfigure = ''
-    ln -s Makefile.Linux Makefile
-  '';
+
   meta = with lib; {
     description = "Tiny free proxy server";
     homepage = "https://github.com/z3APA3A/3proxy";
-    license = licenses.gpl2;
+    license = licenses.bsd2;
     platforms = platforms.linux;
-    maintainers = [ maintainers.misuzu ];
+    maintainers = with maintainers; [ misuzu ];
   };
 }