python3Packages.fitparse: init at 1.2.0

This commit is contained in:
Andrea Ciceri
2025-04-30 18:38:40 +02:00
parent c03df33054
commit 60593ea780
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "fitparse";
version = "1.2.0";
pyproject = true;
build-system = [ setuptools ];
src = fetchFromGitHub {
owner = "dtcooper";
repo = "python-fitparse";
tag = "v${version}";
hash = "sha256-aO4djG9omc0jogalLitvT5i58cYKXqtvJ5WGBiCv448=";
};
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
"test_utils"
];
pythonImportsCheck = [
"fitparse"
];
meta = {
description = "Python library to parse ANT/Garmin .FIT files";
homepage = "https://pythonhosted.org/fitparse/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aciceri ];
};
}
+2
View File
@@ -5384,6 +5384,8 @@ self: super: with self; {
fitfile = callPackage ../development/python-modules/fitfile { };
fitparse = callPackage ../development/python-modules/fitparse { };
fivem-api = callPackage ../development/python-modules/fivem-api { };
fixerio = callPackage ../development/python-modules/fixerio { };