Skip to content

Commit

Permalink
byedpi: init at 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
averyanalex committed Sep 12, 2024
1 parent 35e0ed8 commit 9a09ad4
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/by/byedpi/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "byedpi";
version = "0.13.1";

src = fetchFromGitHub {
owner = "hufrea";
repo = "byedpi";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-Sf5Ik8+9nKhum4/faGf44Y/gQggldyRsFUVmd9XPKOA=";
};

installPhase = ''
runHook preInstall
install -Dm755 ciadpi $out/bin/ciadpi
runHook postInstall
'';

strictDeps = true;

passthru.updateScript = nix-update-script { };

meta = {
description = "SOCKS proxy server implementing some DPI bypass methods";
homepage = "https://github.com/hufrea/byedpi";
changelog = "https://github.com/hufrea/byedpi/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ averyanalex ];
platforms = with lib.platforms; linux ++ windows;
mainProgram = "ciadpi";
};
})

0 comments on commit 9a09ad4

Please sign in to comment.