about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/3proxy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/3proxy/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/3proxy/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/nixpkgs/pkgs/applications/networking/3proxy/default.nix b/nixpkgs/pkgs/applications/networking/3proxy/default.nix
index a1e54b502289..6636691468ea 100644
--- a/nixpkgs/pkgs/applications/networking/3proxy/default.nix
+++ b/nixpkgs/pkgs/applications/networking/3proxy/default.nix
@@ -1,26 +1,27 @@
-{ stdenv, fetchFromGitHub, coreutils }:
+{ lib, stdenv, fetchFromGitHub, coreutils }:
 
 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 stdenv.lib; {
+
+  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 ];
   };
 }