blob: bab4f248a9e54690348b596ba6f25bfe9eb681c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "py-dactyl";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iamkubi";
repo = "pydactyl";
tag = "v${version}";
hash = "sha256-1bvdJ9ATF0cRy7WE8H2IV2WIMbiSnRnelGpWIN7VBRQ=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
requests
];
pythonImportsCheck = [ "pydactyl" ];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# upstream's tests are not fully maintained
"test_paginated_response_multipage_iterator"
];
meta = {
changelog = "https://github.com/iamkubi/pydactyl/releases/tag/${src.tag}";
description = "Python wrapper for the Pterodactyl Panel API";
homepage = "https://github.com/iamkubi/pydactyl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|