depot/third_party/nixpkgs/pkgs/development/python-modules/tcxreader/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

37 lines
701 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ 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 ];
};
}