Files
Ethan Carter Edwards 7add1e0999 python3Packages.tcxfile: init at 1.0.1
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-02-21 13:51:07 -05:00

40 lines
740 B
Nix

{
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 ];
};
}