nixpkgs/pkgs/by-name/ts/ts-warp/package.nix
2024-12-16 04:36:32 +00:00

33 lines
753 B
Nix

{
fetchFromGitHub,
lib,
stdenv,
which,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ts-warp";
version = "1.5.7";
src = fetchFromGitHub {
owner = "mezantrop";
repo = "ts-warp";
rev = finalAttrs.version;
hash = "sha256-bFF/xVI6K2pDMQazJ3E/lAMfrAMbb0cCVUgbfoFxd4Y=";
};
nativeBuildInputs = [ which ];
env.PREFIX = "$(out)";
meta = {
description = "Transparent proxy server and traffic wrapper";
homepage = "https://github.com/mezantrop/ts-warp";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
changelog = "https://github.com/mezantrop/ts-warp/blob/${finalAttrs.version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ heywoodlh ];
mainProgram = "ts-warp";
};
})