forked from mirrors/nixpkgs
Merge pull request #190004 from firefly-cpp/tcxreader
This commit is contained in:
commit
cdf21b5885
37
pkgs/development/python-modules/tcxreader/default.nix
Normal file
37
pkgs/development/python-modules/tcxreader/default.nix
Normal 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 Garmin’s TCX file format.";
|
||||
homepage = "https://github.com/alenrajsp/tcxreader";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue