Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tcxparser / default.nix
blobc011b9e32fac7c6c974f9025859f6e982fc7e3fd
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lxml
5 , pytestCheckHook
6 , python-dateutil
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "tcxparser";
12   version = "2.3.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "vkurup";
19     repo = "python-tcxparser";
20     rev = version;
21     hash = "sha256-HOACQpPVg/UKopz3Jdsyg0CIBnXYuVyhWUVPA+OXI0k=";
22   };
24   propagatedBuildInputs = [
25     lxml
26     python-dateutil
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "tcxparser"
35   ];
37   meta = with lib; {
38     description = "Simple parser for Garmin TCX files";
39     homepage = "https://github.com/vkurup/python-tcxparser";
40     license = licenses.bsd2;
41     maintainers = with maintainers; [ firefly-cpp ];
42   };