nixpkgs-suyu/pkgs/applications/networking/3proxy/default.nix

28 lines
621 B
Nix
Raw Normal View History

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