blob: f8e45d3814c92785efde596c1ec5ace5d4f60bdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fitdecode";
version = "0.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "polyvertex";
repo = "fitdecode";
tag = "v${version}";
hash = "sha256-3NoJHPql5mVQ+h2InM8tp7LIuR2znJyaawISarr688Q=";
};
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 ];
};
}
|