Skip to content

Commit

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

src = fetchFromGitHub {
owner = "hufrea";
repo = "byedpi";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-LS4Dy2xTssYtN7EqWlGRh2MLTlf0kokJ2rHWuarokPE=";
};

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

strictDeps = true;

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

meta = {
description = "SOCKS proxy server implementing some of 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 = lib.platforms.all;
mainProgram = "ciadpi";
};
})

0 comments on commit da1ab41

Please sign in to comment.