blob: 117589863d88467b3d6a6bff792bab5bfe97e0ec (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
aiohttp,
}:
buildPythonPackage (finalAttrs: {
pname = "aiolichess";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aryanhasgithub";
repo = "aiolichess";
tag = "v${finalAttrs.version}";
hash = "sha256-WCrvDNlq0i2FBD6Ouiue3BQcTuIV80Z8MT/5mOjTr3w=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
# upstream tests are empty
doCheck = false;
pythonImportsCheck = [ "aiolichess" ];
meta = {
description = "Async Python client for the Lichess REST API";
homepage = "https://github.com/aryanhasgithub/aiolichess";
changelog = "https://github.com/aryanhasgithub/aiolichess/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
|