Files
nixpkgs/pkgs/development/python-modules/fitdecode/default.nix
Chris Moultrie 22134f2484 python3packages.fitdecode: init at 0.10.0
Adding as requirement for fittrackee
2025-06-03 16:56:09 -04:00

37 lines
802 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fitdecode";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "polyvertex";
repo = "fitdecode";
tag = "v${version}";
hash = "sha256-pW1PgJGqFL2reOYYfpGnQ4WoYFKGMNY8iQJzyHYOly8=";
};
build-system = [
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fitdecode" ];
meta = {
changelog = "https://github.com/polyvertex/fitdecode/blob/${src.tag}/HISTORY.rst";
description = "FIT file parsing and decoding library written in Python3";
license = lib.licenses.mit;
homepage = "https://github.com/polyvertex/fitdecode";
maintainers = with lib.maintainers; [ tebriel ];
};
}