-{ openssl, telethon, python3Packages, mylibs }:
+{ openssl, telethon, python3Packages, fetchFromGitHub }:
with python3Packages;
buildPythonApplication rec {
format = "other";
pname = "telegramircd";
version = "master";
propagatedBuildInputs = [ telethon aiohttp ConfigArgParse openssl ];
- src = (mylibs.fetchedGithub ./telegramircd.json).src;
+ src = fetchFromGitHub {
+ owner = "MaskRay";
+ repo = "telegramircd";
+ rev = "40a0c7cf60492bde3f44d43f06f62e3792480139";
+ sha256 = "123fjhgxq2fzn0ar8274jv7jjbxnlpidrj5333kbch7rpcipks0y";
+ fetchSubmodules = true;
+ };
LD_LIBRARY_PATH = "${openssl.out}/lib";
installPhase = ''
install -D $src/telegramircd.py $out/bin/telegramircd