1{
2 aiohttp,
3 aresponses,
4 attrs,
5 buildPythonPackage,
6 cryptography,
7 fetchFromGitHub,
8 lib,
9 poetry-core,
10 pytestCheckHook,
11 pytz,
12}:
13
14buildPythonPackage rec {
15 pname = "pyseventeentrack";
16 version = "1.1.1";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "shaiu";
21 repo = "pyseventeentrack";
22 tag = "v${version}";
23 hash = "sha256-XFn9yZbUrvERBQW1PumwtAPHhcyRX9L+JKxE/NZjZys=";
24 };
25
26 build-system = [ poetry-core ];
27
28 pythonRelaxDeps = [ "cryptography" ];
29
30 dependencies = [
31 aiohttp
32 attrs
33 cryptography
34 pytz
35 ];
36
37 pythonImportsCheck = [ "pyseventeentrack" ];
38
39 nativeCheckInputs = [
40 aresponses
41 pytestCheckHook
42 ];
43
44 meta = {
45 changelog = "https://github.com/shaiu/pyseventeentrack/releases/tag/v${version}";
46 description = "Simple Python API for 17track.net";
47 homepage = "https://github.com/shaiu/pyseventeentrack";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ dotlambda ];
50 };
51}