37 lines
802 B
Nix
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 ];
|
|
};
|
|
}
|