Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tcxreader / default.nix
blobc9a965ae8145f91079c7452b116afe498734b0b7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "tcxreader";
11   version = "0.4.10";
12   pyproject = true;
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "alenrajsp";
18     repo = "tcxreader";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-qTAqRzrHFj0nEujlkBohLaprIvvkSYhcDoRfqWIJMjo=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "tcxreader"
33   ];
35   meta = with lib; {
36     description = "A reader for Garmin’s TCX file format";
37     homepage = "https://github.com/alenrajsp/tcxreader";
38     changelog = "https://github.com/alenrajsp/tcxreader/blob/v${version}/CHANGELOG.md";
39     license = licenses.mit;
40     maintainers = with maintainers; [ firefly-cpp ];
41   };