File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments