1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, arrow 6, requests 7, units 8, pytz 9, six 10}: 11 12buildPythonPackage rec { 13 pname = "stravalib"; 14 version = "0.10.4"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "451817c68a11e0c77db9cb628e3c4df0f4806c5a481536598ab3baa1d1c21215"; 19 }; 20 21 checkInputs = [ 22 nose 23 ]; 24 25 propagatedBuildInputs = [ 26 arrow 27 requests 28 units 29 pytz 30 six 31 ]; 32 33 # tests require network access 34 # testing strava api 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Python library for interacting with Strava v3 REST API"; 39 homepage = "https://github.com/hozn/stravalib"; 40 license = licenses.asl20; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}