depot/third_party/nixpkgs/pkgs/applications/networking/3proxy/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

31 lines
697 B
Nix

{ lib, stdenv, fetchFromGitHub, coreutils, nixosTests }:
stdenv.mkDerivation rec {
pname = "3proxy";
version = "0.9.3";
src = fetchFromGitHub {
owner = "z3APA3A";
repo = pname;
rev = version;
sha256 = "9aopwyz0U2bYTvx5YWLJo9EE8Xfb51IOguHRJodjpm8=";
};
makeFlags = [
"-f Makefile.Linux"
"INSTALL=${coreutils}/bin/install"
"DESTDIR=${placeholder "out"}"
];
passthru.tests = {
smoke-test = nixosTests._3proxy;
};
meta = with lib; {
description = "Tiny free proxy server";
homepage = "https://github.com/z3APA3A/3proxy";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ misuzu ];
};
}