forked from mirrors/nixpkgs
python310Packages.tcxparser: init at 2.3.0
This commit is contained in:
parent
bc7d278ac6
commit
344d5219dd
44
pkgs/development/python-modules/tcxparser/default.nix
Normal file
44
pkgs/development/python-modules/tcxparser/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tcxparser";
|
||||
version = "2.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vkurup";
|
||||
repo = "python-tcxparser";
|
||||
rev = version;
|
||||
hash = "sha256-HOACQpPVg/UKopz3Jdsyg0CIBnXYuVyhWUVPA+OXI0k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tcxparser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple parser for Garmin TCX files";
|
||||
homepage = "https://github.com/vkurup/python-tcxparser";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
}
|
||||
|
|
@ -10708,6 +10708,8 @@ in {
|
|||
|
||||
tbm-utils = callPackage ../development/python-modules/tbm-utils { };
|
||||
|
||||
tcxparser = callPackage ../development/python-modules/tcxparser { };
|
||||
|
||||
tcxreader = callPackage ../development/python-modules/tcxreader { };
|
||||
|
||||
teamcity-messages = callPackage ../development/python-modules/teamcity-messages { };
|
||||
|
|
Loading…
Reference in a new issue