blob: dd4da53f850284fe48e35b95c044fc8ac30e25ba (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "elvia";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "andersem";
repo = "elvia-python";
tag = "v${version}";
hash = "sha256-oGXs+EwEIykkq8KjK7qNnZfLj4ZoKlgkldUiJlAI1gA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
typing-extensions
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "elvia" ];
meta = {
description = "Unofficial API bindings for Elvia's consumer facing APIs";
homepage = "https://github.com/andersem/elvia-python";
changelog = "https://github.com/andersem/elvia-python/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ uvnikita ];
};
}
|