biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / tcxreader / default.nix
blob9bcab11b58822b081217beccdde34e15a5f9c3d4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "tcxreader";
12   version = "0.4.10";
13   pyproject = true;
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "alenrajsp";
19     repo = "tcxreader";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-qTAqRzrHFj0nEujlkBohLaprIvvkSYhcDoRfqWIJMjo=";
22   };
24   nativeBuildInputs = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "tcxreader" ];
30   meta = with lib; {
31     description = "Reader for Garmin’s TCX file format";
32     homepage = "https://github.com/alenrajsp/tcxreader";
33     changelog = "https://github.com/alenrajsp/tcxreader/blob/v${version}/CHANGELOG.md";
34     license = licenses.mit;
35     maintainers = with maintainers; [ firefly-cpp ];
36   };