File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
development/python-modules/hydrogram Expand file tree Collapse file tree 2 files changed +56
-0
lines changed 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 @@ -5496,6 +5496,8 @@ self: super: with self; {
54965496
54975497 hydrawiser = callPackage ../development/python-modules/hydrawiser { };
54985498
5499+ hydrogram = callPackage ../development/python-modules/hydrogram { };
5500+
54995501 hydrus-api = callPackage ../development/python-modules/hydrus-api { };
55005502
55015503 hypchat = callPackage ../development/python-modules/hypchat { };
You can’t perform that action at this time.
0 commit comments