nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "telegram-text";
11 version = "0.2.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "SKY-ALIN";
16 repo = "telegram-text";
17 tag = "v${version}";
18 hash = "sha256-eUy4kyCmM/5Ag/0s9hYW2IIg+OTX2L7EsoOYivhd0pU=";
19 };
20
21 nativeBuildInputs = [ poetry-core ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 meta = {
26 description = "Python markup module for Telegram messenger";
27 downloadPage = "https://github.com/SKY-ALIN/telegram-text";
28 homepage = "https://telegram-text.alinsky.tech/";
29 changelog = "https://github.com/SKY-ALIN/telegram-text/blob/v${version}/CHANGELOG.md";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ sikmir ];
32 };
33}