567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
597 B
Nix
30 lines
597 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "simpleproxy";
|
|
version = "3.5";
|
|
rev = "v.${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "vzaliva";
|
|
repo = "simpleproxy";
|
|
sha256 = "1my9g4vp19dikx3fsbii4ichid1bs9b9in46bkg05gbljhj340f6";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/vzaliva/simpleproxy";
|
|
description = "Simple TCP proxy";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.montag451 ];
|
|
mainProgram = "simpleproxy";
|
|
};
|
|
}
|