mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
33 lines
753 B
Nix
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";
|
|
};
|
|
})
|