File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed
development/python-modules/hydrogram Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 2207622076 githubId = 7709;
2207722077 name = "Thomaz Leite";
2207822078 };
22079+ tholo = {
22080+ 22081+ github = "tholoo";
22082+ githubId = 42005990;
22083+ name = "Ali Mohammadzadeh";
22084+ };
2207922085 thomasdesr = {
22080220862208122087 github = "thomasdesr";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ aiosqlite ,
4+ buildPythonPackage ,
5+ fetchFromGitHub ,
6+ hatchling ,
7+ pyaes ,
8+ pysocks ,
9+ pytest-asyncio ,
10+ pytestCheckHook ,
11+ pythonOlder ,
12+ } :
13+
14+ buildPythonPackage rec {
15+ pname = "hydrogram" ;
16+ version = "0.1.4" ;
17+ pyproject = true ;
18+
19+ disabled = pythonOlder "3.7" ;
20+
21+ src = fetchFromGitHub {
22+ owner = "hydrogram" ;
23+ repo = "hydrogram" ;
24+ rev = "refs/tags/v${ version } " ;
25+ hash = "sha256-kKzXR8ared2+mHBABxtX+glJ3PMuxA1Pek3DuUkTT40=" ;
26+ } ;
27+
28+ build-system = [ hatchling ] ;
29+
30+ dependencies = [
31+ pyaes
32+ pysocks
33+ aiosqlite
34+ ] ;
35+
36+ nativeCheckInputs = [
37+ pytestCheckHook
38+ pytest-asyncio
39+ ] ;
40+
41+ pythonImportsCheck = [
42+ "hydrogram"
43+ "hydrogram.errors"
44+ "hydrogram.types"
45+ ] ;
46+
47+ meta = with lib ; {
48+ description = "Asynchronous Telegram MTProto API framework for fluid user and bot interactions" ;
49+ homepage = "https://github.com/hydrogram/hydrogram" ;
50+ changelog = "https://github.com/hydrogram/hydrogram/releases/tag/v${ version } " ;
51+ license = licenses . lgpl3Plus ;
52+ maintainers = with maintainers ; [ tholo ] ;
53+ } ;
54+ }
Original file line number Diff line number Diff line change @@ -6019,6 +6019,8 @@ self: super: with self; {
60196019
60206020 hydrawiser = callPackage ../development/python-modules/hydrawiser { };
60216021
6022+ hydrogram = callPackage ../development/python-modules/hydrogram { };
6023+
60226024 hydrus-api = callPackage ../development/python-modules/hydrus-api { };
60236025
60246026 hypchat = callPackage ../development/python-modules/hypchat { };
You can’t perform that action at this time.
0 commit comments