blob: dcba98e7295ffc9adbc6af641efa9ac370f7be16 (
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
49
50
|
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
requests,
responses,
setuptools,
}:
buildPythonPackage rec {
pname = "python-citybikes";
version = "0.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "eskerda";
repo = "python-citybikes";
tag = version;
hash = "sha256-it/QCUwNc6g88IrtMTS8wr/t4Apb2ovSheufOnu4fCM=";
};
build-system = [
setuptools
];
dependencies = [
aiohttp
requests
];
pythonImportsCheck = [ "citybikes" ];
nativeCheckInputs = [
pytest-aiohttp
pytest-asyncio
pytestCheckHook
responses
];
meta = {
description = "Client interface for the Citybikes API";
homepage = "https://github.com/eskerda/python-citybikes";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
|