blob: 48df41452ef168332a65beeb4f0b3b586f94f7e9 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
haversine,
python-dateutil,
requests,
xmltodict,
# testing
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "georss-client";
version = "0.19";
pyproject = true;
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-client";
tag = "v${version}";
hash = "sha256-+CmauNb+5mDbZXQCd8ZxZCz6FSfEPAnktkMjvQueiO0=";
};
build-system = [ setuptools ];
dependencies = [
haversine
python-dateutil
requests
xmltodict
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "georss_client" ];
meta = {
description = "Python library for accessing GeoRSS feeds";
homepage = "https://github.com/exxamalte/python-georss-client";
changelog = "https://github.com/exxamalte/python-georss-client/releases/tag/${src.tag}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|