3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/3proxy/default.nix

28 lines
621 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, coreutils }:
2019-08-26 15:21:03 +01:00
stdenv.mkDerivation rec {
pname = "3proxy";
2020-12-28 21:32:20 +00:00
version = "0.9.3";
2019-08-26 15:21:03 +01:00
src = fetchFromGitHub {
owner = "z3APA3A";
repo = pname;
rev = version;
2020-12-28 21:32:20 +00:00
sha256 = "9aopwyz0U2bYTvx5YWLJo9EE8Xfb51IOguHRJodjpm8=";
2019-08-26 15:21:03 +01:00
};
2020-12-28 21:32:20 +00:00
2019-08-26 15:21:03 +01:00
makeFlags = [
2020-12-28 21:32:20 +00:00
"-f Makefile.Linux"
2019-08-26 15:21:03 +01:00
"INSTALL=${coreutils}/bin/install"
2020-12-28 21:32:20 +00:00
"DESTDIR=${placeholder "out"}"
2019-08-26 15:21:03 +01:00
];
2020-12-28 21:32:20 +00:00
meta = with lib; {
2019-08-26 15:21:03 +01:00
description = "Tiny free proxy server";
homepage = "https://github.com/z3APA3A/3proxy";
2020-12-28 21:32:20 +00:00
license = licenses.bsd2;
2019-08-26 15:21:03 +01:00
platforms = platforms.linux;
2020-12-28 21:32:20 +00:00
maintainers = with maintainers; [ misuzu ];
2019-08-26 15:21:03 +01:00
};
}