mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python3Packages.hydrogram: init at 0.1.4
Init hydrogram at version 0.1.4
This commit is contained in:
parent
610e8be838
commit
5bd3eeba76
54
pkgs/development/python-modules/hydrogram/default.nix
Normal file
54
pkgs/development/python-modules/hydrogram/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
aiosqlite,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pyaes,
|
||||
pysocks,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hydrogram";
|
||||
version = "0.1.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hydrogram";
|
||||
repo = "hydrogram";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kKzXR8ared2+mHBABxtX+glJ3PMuxA1Pek3DuUkTT40=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
pyaes
|
||||
pysocks
|
||||
aiosqlite
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hydrogram"
|
||||
"hydrogram.errors"
|
||||
"hydrogram.types"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Telegram MTProto API framework for fluid user and bot interactions";
|
||||
homepage = "https://github.com/hydrogram/hydrogram";
|
||||
changelog = "https://github.com/hydrogram/hydrogram/releases/tag/v${version}";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ tholo ];
|
||||
};
|
||||
}
|
@ -5496,6 +5496,8 @@ self: super: with self; {
|
||||
|
||||
hydrawiser = callPackage ../development/python-modules/hydrawiser { };
|
||||
|
||||
hydrogram = callPackage ../development/python-modules/hydrogram { };
|
||||
|
||||
hydrus-api = callPackage ../development/python-modules/hydrus-api { };
|
||||
|
||||
hypchat = callPackage ../development/python-modules/hypchat { };
|
||||
|
Loading…
Reference in New Issue
Block a user