1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "fitfile";
11 version = "1.0.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "tcgoetz";
16 repo = "fit";
17 tag = version;
18 hash = "sha256-NIshX/IkPmqviYRPT4wRF7evZwn9e7BdCI5x+2Pz7II=";
19 };
20
21 build-system = [
22 setuptools
23 ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 pythonImportsCheck = [ "fitfile" ];
28
29 meta = {
30 description = "Python Fit file parser";
31 license = lib.licenses.gpl2Only;
32 homepage = "https://github.com/tcgoetz/fit";
33 maintainers = with lib.maintainers; [ ethancedwards8 ];
34 };
35}