nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 32 lines 753 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 stdenv, 5 which, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "ts-warp"; 10 version = "1.5.8"; 11 12 src = fetchFromGitHub { 13 owner = "mezantrop"; 14 repo = "ts-warp"; 15 tag = finalAttrs.version; 16 hash = "sha256-eHw8OUBlrptLzMhG4udjYH/WIXbu+3G9IVLUwO4JlpU="; 17 }; 18 19 nativeBuildInputs = [ which ]; 20 21 env.PREFIX = "$(out)"; 22 23 meta = { 24 description = "Transparent proxy server and traffic wrapper"; 25 homepage = "https://github.com/mezantrop/ts-warp"; 26 license = lib.licenses.bsd2; 27 platforms = lib.platforms.unix; 28 changelog = "https://github.com/mezantrop/ts-warp/blob/${finalAttrs.version}/CHANGELOG.md"; 29 maintainers = with lib.maintainers; [ heywoodlh ]; 30 mainProgram = "ts-warp"; 31 }; 32})