blob: 2ece880dd4cb8fd6e3271d18fd55afc8b6712a14 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
python-dateutil,
}:
buildPythonPackage rec {
pname = "tcxfile";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tcgoetz";
repo = "tcx";
tag = version;
hash = "sha256-d1KSeLlaoyXFU8v+8cKu1+2dU2ywvpWqsHBddo/aBC4=";
};
build-system = [
setuptools
];
dependencies = [
python-dateutil
];
# cannot run built in tests as they lack data files
pythonImportsCheck = [ "tcxfile" ];
meta = {
description = "Python library to read and write Tcx files";
license = lib.licenses.gpl2Only;
homepage = "https://github.com/tcgoetz/tcx";
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
|