This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/python/tulir-telethon.nix
Charlotte 🦝 Delenk bfd1cd0d41
Some checks failed
Hydra emoji-volpeon-bunhd Hydra build #46016 of nix-packages:x86_64-linux-master-pr255:emoji-volpeon-bunhd
Hydra wordpress-plugins.webp-express Hydra build #46017 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.webp-express
Hydra wordpress-plugins.indieweb-post-kinds Hydra build #46020 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.indieweb-post-kinds
Hydra wordpress-plugins.syndication-links Hydra build #46021 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.syndication-links
Hydra wordpress-plugins.indieauth Hydra build #46024 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.indieauth
Hydra plover-plugins-manager Hydra build #46026 of nix-packages:x86_64-linux-master-pr255:plover-plugins-manager
Hydra wordpress-plugins.classic-editor Hydra build #46029 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.classic-editor
Hydra wordpress-plugins.modern-footnotes Hydra build #46030 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.modern-footnotes
Hydra python-rtf-tokenize Hydra build #46032 of nix-packages:x86_64-linux-master-pr255:python-rtf-tokenize
Hydra plover-plugin-tapey-tape Hydra build #46034 of nix-packages:x86_64-linux-master-pr255:plover-plugin-tapey-tape
Hydra emoji-volpeon-blobfox Hydra build #46035 of nix-packages:x86_64-linux-master-pr255:emoji-volpeon-blobfox
Hydra plover-plugin-machine-hid Hydra build #46037 of nix-packages:x86_64-linux-master-pr255:plover-plugin-machine-hid
Hydra wordpress-plugins.modern-images-wp Hydra build #46043 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.modern-images-wp
Hydra wordpress-plugins.ilab-media-tools Hydra build #46045 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.ilab-media-tools
Hydra kreative-square Hydra build #46047 of nix-packages:x86_64-linux-master-pr255:kreative-square
Hydra wordpress-plugins.micropub Hydra build #46049 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.micropub
Hydra emoji-volpeon-bunhd-flip Hydra build #46051 of nix-packages:x86_64-linux-master-pr255:emoji-volpeon-bunhd-flip
Hydra wordpress-plugins.wordpress-seo Hydra build #46052 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.wordpress-seo
Hydra wordpress-plugins.hum Hydra build #46053 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.hum
Hydra alco-sans Hydra build #46056 of nix-packages:x86_64-linux-master-pr255:alco-sans
Hydra python-instagram Hydra build #46057 of nix-packages:x86_64-linux-master-pr255:python-instagram
Hydra wordpress-themes.sempress Hydra build #46059 of nix-packages:x86_64-linux-master-pr255:wordpress-themes.sempress
Hydra python-mautrix Hydra build #46063 of nix-packages:x86_64-linux-master-pr255:python-mautrix
Hydra fairfax-hd Hydra build #46065 of nix-packages:x86_64-linux-master-pr255:fairfax-hd
Hydra nasin-nanpa Hydra build #46066 of nix-packages:x86_64-linux-master-pr255:nasin-nanpa
Hydra python-simplefuzzyset Hydra build #46068 of nix-packages:x86_64-linux-master-pr255:python-simplefuzzyset
Hydra old-homepage Hydra build #46071 of nix-packages:x86_64-linux-master-pr255:old-homepage
Hydra wordpress-plugins.webmention Hydra build #46072 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.webmention
Hydra emoji-volpeon-raccoon Hydra build #46073 of nix-packages:x86_64-linux-master-pr255:emoji-volpeon-raccoon
Hydra wordpress-plugins.activitypub Hydra build #46076 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.activitypub
Hydra wordpress-plugins.friends Hydra build #46077 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.friends
Hydra wordpress-plugins.wp-super-cache Hydra build #46078 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.wp-super-cache
Hydra wordpress-plugins.polylang Hydra build #46079 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.polylang
Hydra fairfax Hydra build #46080 of nix-packages:x86_64-linux-master-pr255:fairfax
Hydra wordpress-plugins.webfinger Hydra build #46081 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.webfinger
Hydra wordpress-plugins.the-plus-addons-for-block-editor Hydra build #46083 of nix-packages:x86_64-linux-master-pr255:wordpress-plugins.the-plus-addons-for-block-editor
Hydra mautrix-signal Hydra build #46084 of nix-packages:x86_64-linux-master-pr255:mautrix-signal
Hydra plover-plugin-yaml-dictionary Hydra build #46085 of nix-packages:x86_64-linux-master-pr255:plover-plugin-yaml-dictionary
Hydra plover-plugin-emoji Hydra build #46086 of nix-packages:x86_64-linux-master-pr255:plover-plugin-emoji
Hydra plover Hydra build #46087 of nix-packages:x86_64-linux-master-pr255:plover
Hydra element-web Hydra build #46088 of nix-packages:x86_64-linux-master-pr255:element-web
Hydra lotte-art Hydra build #46089 of nix-packages:x86_64-linux-master-pr255:lotte-art
Hydra plover-dict-didoesdigital Hydra build #46090 of nix-packages:x86_64-linux-master-pr255:plover-dict-didoesdigital
Hydra python-plover-stroke Hydra build #46092 of nix-packages:x86_64-linux-master-pr255:python-plover-stroke
Hydra hydra-unstable Hydra build #46018 of nix-packages:x86_64-linux-master-pr255:hydra-unstable
Hydra hydra Hydra build #46070 of nix-packages:x86_64-linux-master-pr255:hydra
Hydra emoji-volpeon-blobfox-flip Hydra build #46013 of nix-packages:aarch64-linux-master-pr255:emoji-volpeon-blobfox-flip
Hydra mautrix-whatsapp Hydra build #45966 of nix-packages:aarch64-linux-master-pr255:mautrix-whatsapp
Hydra akkoma Hydra build #46022 of nix-packages:x86_64-linux-master-pr255:akkoma
Hydra emoji-volpeon-drgn Hydra build #46046 of nix-packages:x86_64-linux-master-pr255:emoji-volpeon-drgn
Hydra emoji-lotte Hydra build #45991 of nix-packages:aarch64-linux-master-pr255:emoji-lotte
Hydra wordpress-plugins.indieweb Hydra build #45995 of nix-packages:aarch64-linux-master-pr255:wordpress-plugins.indieweb
Hydra wordpress-plugins.google-sitemap-generator Hydra build #45977 of nix-packages:aarch64-linux-master-pr255:wordpress-plugins.google-sitemap-generator
Hydra wordpress-plugins.nodeinfo Hydra build #46005 of nix-packages:aarch64-linux-master-pr255:wordpress-plugins.nodeinfo
Hydra wordpress-plugins.jetpack Hydra build #45967 of nix-packages:aarch64-linux-master-pr255:wordpress-plugins.jetpack
Hydra constructium Hydra build #45963 of nix-packages:aarch64-linux-master-pr255:constructium
Hydra wordpress-plugins.pubsubhubbub Hydra build #46009 of nix-packages:aarch64-linux-master-pr255:wordpress-plugins.pubsubhubbub
Hydra plover-plugin-rkb1-hid Hydra build #45976 of nix-packages:aarch64-linux-master-pr255:plover-plugin-rkb1-hid
Hydra wordpress-themes.twentytwentythree Hydra build #45992 of nix-packages:aarch64-linux-master-pr255:wordpress-themes.twentytwentythree
Hydra pleroma-fe Hydra build #46036 of nix-packages:x86_64-linux-master-pr255:pleroma-fe
Hydra admin-fe Hydra build #46061 of nix-packages:x86_64-linux-master-pr255:admin-fe
Hydra emoji-volpeon-gphn Hydra build #45979 of nix-packages:aarch64-linux-master-pr255:emoji-volpeon-gphn
Hydra kubo Hydra build #46044 of nix-packages:x86_64-linux-master-pr255:kubo
Hydra emoji-volpeon-fox Hydra build #45953 of nix-packages:aarch64-linux-master-pr255:emoji-volpeon-fox
Hydra matrix-media-repo Hydra build #46038 of nix-packages:x86_64-linux-master-pr255:matrix-media-repo
Hydra emoji-volpeon-vlpn Hydra build #45969 of nix-packages:aarch64-linux-master-pr255:emoji-volpeon-vlpn
Hydra python-tulir-telethon Hydra build #45956 of nix-packages:aarch64-linux-master-pr255:python-tulir-telethon
Hydra mautrix-telegram Hydra build #45958 of nix-packages:aarch64-linux-master-pr255:mautrix-telegram
Hydra papermc Hydra build #45959 of nix-packages:aarch64-linux-master-pr255:papermc
Hydra woodpecker-frontend Hydra build #45948 of nix-packages:aarch64-linux-master-pr255:woodpecker-frontend
Hydra mautrix-discord Hydra build #45962 of nix-packages:aarch64-linux-master-pr255:mautrix-discord
Hydra miifox-net Hydra build #45971 of nix-packages:aarch64-linux-master-pr255:miifox-net
Hydra emoji-caro Hydra build #46003 of nix-packages:aarch64-linux-master-pr255:emoji-caro
Hydra woodpecker-server Hydra build #45955 of nix-packages:aarch64-linux-master-pr255:woodpecker-server
Hydra mautrix-cleanup Hydra build #45985 of nix-packages:aarch64-linux-master-pr255:mautrix-cleanup
Hydra woodpecker-cli Hydra build #46002 of nix-packages:aarch64-linux-master-pr255:woodpecker-cli
Hydra woodpecker-agent Hydra build #46001 of nix-packages:aarch64-linux-master-pr255:woodpecker-agent
update flake
2023-06-01 08:21:31 +01:00

40 lines
858 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
openssl,
rsa,
pyaes,
pythonOlder,
}:
buildPythonPackage rec {
pname = "tulir-telethon";
version = "1.29.0a1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/qs0JTHX7aKSe5wD8oTW885GoqOjBz6zQFlHi+83qZI=";
};
patchPhase = ''
substituteInPlace telethon/crypto/libssl.py --replace \
"ctypes.util.find_library('ssl')" "'${lib.getLib openssl}/lib/libssl.so'"
'';
propagatedBuildInputs = [
rsa
pyaes
];
# No tests available
doCheck = false;
disabled = pythonOlder "3.5";
meta = with lib; {
homepage = "https://github.com/LonamiWebs/Telethon";
description = "Full-featured Telegram client library for Python 3";
license = licenses.mit;
};
passthru.updateScript = [../scripts/update-python-libraries "python/tulir-telethon.nix"];
}