Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 805 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, setuptools 6, arrow 7, requests 8, units 9, pint 10, pydantic 11, pytz 12, six 13}: 14 15buildPythonPackage rec { 16 pname = "stravalib"; 17 version = "1.2.0"; 18 format = "pyproject"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-P00oxUz0oVQB969c/N2wpKLe09wtvQWPH4DH4EZUaxc="; 23 }; 24 25 nativeCheckInputs = [ 26 nose 27 ]; 28 29 propagatedBuildInputs = [ 30 arrow 31 requests 32 units 33 pint 34 pydantic 35 pytz 36 setuptools 37 six 38 ]; 39 40 # tests require network access 41 # testing strava api 42 doCheck = false; 43 44 meta = with lib; { 45 description = "Python library for interacting with Strava v3 REST API"; 46 homepage = "https://github.com/stravalib/stravalib"; 47 license = licenses.asl20; 48 maintainers = [ maintainers.costrouc ]; 49 }; 50}