3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #190004 from firefly-cpp/tcxreader

This commit is contained in:
Sandro 2022-09-06 18:29:07 +02:00 committed by GitHub
commit cdf21b5885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tcxreader";
version = "0.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "alenrajsp";
repo = "tcxreader";
rev = "v${version}";
hash = "sha256-gPoYxdYCHVzSjCxhodRsbd60dGbPQtQQihdT0h3uVpU=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"tcxreader"
];
meta = with lib; {
description = "A reader for Garmins TCX file format.";
homepage = "https://github.com/alenrajsp/tcxreader";
license = licenses.mit;
maintainers = with maintainers; [ firefly-cpp ];
};
}

View file

@ -10683,6 +10683,8 @@ in {
tbm-utils = callPackage ../development/python-modules/tbm-utils { };
tcxreader = callPackage ../development/python-modules/tcxreader { };
teamcity-messages = callPackage ../development/python-modules/teamcity-messages { };
telegram = callPackage ../development/python-modules/telegram { };