Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 718 B view raw
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.2"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "76db248b24cbd6c51cf93b475d8a8df04ec4b6c6287dca244e47f37a433276d7"; 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}