Skip to content

Commit 4181b2b

Browse files
mtproxy: init at 1-unstable-2025-11-04 (#492798)
2 parents 24a3d7d + 6f3ce14 commit 4181b2b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
openssl,
6+
zlib,
7+
}:
8+
stdenv.mkDerivation {
9+
pname = "mtproxy";
10+
version = "1-unstable-2025-11-04";
11+
src = fetchFromGitHub {
12+
owner = "TelegramMessenger";
13+
repo = "MTProxy";
14+
rev = "cafc3380a81671579ce366d0594b9a8e450827e9";
15+
hash = "sha256-tY2iwNAQIL8sCUuddy9Lm/d/W1notL27HhRtOa25VsE=";
16+
};
17+
buildInputs = [
18+
openssl
19+
zlib
20+
];
21+
installPhase = ''
22+
runHook preInstall
23+
mkdir -p $out/bin
24+
cp objs/bin/mtproto-proxy $out/bin/
25+
runHook postInstall
26+
'';
27+
meta = {
28+
description = "Simple MT-Proto proxy";
29+
mainProgram = "mtproto-proxy";
30+
homepage = "https://github.com/TelegramMessenger/MTProxy";
31+
license = lib.licenses.gpl2Plus;
32+
maintainers = with lib.maintainers; [ nix-julia ];
33+
platforms = [ "x86_64-linux" ];
34+
};
35+
}

0 commit comments

Comments
 (0)