mtprotoproxy: add uvloop

This commit is contained in:
Nikolay Amiantov 2019-09-26 22:48:03 +03:00
parent 991f825f2d
commit 7b35f8bccc

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python, pyaes, pycrypto, wrapPython }: { stdenv, fetchFromGitHub, python, pyaes, pycrypto, uvloop, wrapPython }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mtprotoproxy"; pname = "mtprotoproxy";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ wrapPython ]; nativeBuildInputs = [ wrapPython ];
pythonPath = [ pyaes pycrypto ]; pythonPath = [ pyaes pycrypto uvloop ];
installPhase = '' installPhase = ''
install -Dm755 mtprotoproxy.py $out/bin/mtprotoproxy install -Dm755 mtprotoproxy.py $out/bin/mtprotoproxy