at master 740 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 python-dateutil, 7}: 8 9buildPythonPackage rec { 10 pname = "tcxfile"; 11 version = "1.0.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "tcgoetz"; 16 repo = "tcx"; 17 tag = version; 18 hash = "sha256-d1KSeLlaoyXFU8v+8cKu1+2dU2ywvpWqsHBddo/aBC4="; 19 }; 20 21 build-system = [ 22 setuptools 23 ]; 24 25 dependencies = [ 26 python-dateutil 27 ]; 28 29 # cannot run built in tests as they lack data files 30 31 pythonImportsCheck = [ "tcxfile" ]; 32 33 meta = { 34 description = "Python library to read and write Tcx files"; 35 license = lib.licenses.gpl2Only; 36 homepage = "https://github.com/tcgoetz/tcx"; 37 maintainers = with lib.maintainers; [ ethancedwards8 ]; 38 }; 39}