Merge pull request #61751 from costrouc/python-stravalib-init
pythonPackages.stravalib: init at 0.10.2
This commit is contained in:
commit
f498dd772a
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, arrow
|
||||||
|
, requests
|
||||||
|
, units
|
||||||
|
, pytz
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "stravalib";
|
||||||
|
version = "0.10.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "76db248b24cbd6c51cf93b475d8a8df04ec4b6c6287dca244e47f37a433276d7";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
nose
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
arrow
|
||||||
|
requests
|
||||||
|
units
|
||||||
|
pytz
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
# tests require network access
|
||||||
|
# testing strava api
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library for interacting with Strava v3 REST API";
|
||||||
|
homepage = https://github.com/hozn/stravalib;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "units";
|
||||||
|
version = "0.07";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "43eb3e073e1b11289df7b1c3f184b5b917ccad178b717b03933298716f200e14";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python support for quantities with units";
|
||||||
|
homepage = https://bitbucket.org/adonohue/units/;
|
||||||
|
license = licenses.psfl;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4388,6 +4388,8 @@ in {
|
||||||
|
|
||||||
statsmodels = callPackage ../development/python-modules/statsmodels { };
|
statsmodels = callPackage ../development/python-modules/statsmodels { };
|
||||||
|
|
||||||
|
stravalib = callPackage ../development/python-modules/stravalib { };
|
||||||
|
|
||||||
streamz = callPackage ../development/python-modules/streamz { };
|
streamz = callPackage ../development/python-modules/streamz { };
|
||||||
|
|
||||||
structlog = callPackage ../development/python-modules/structlog { };
|
structlog = callPackage ../development/python-modules/structlog { };
|
||||||
|
@ -4816,6 +4818,8 @@ in {
|
||||||
|
|
||||||
unidiff = callPackage ../development/python-modules/unidiff { };
|
unidiff = callPackage ../development/python-modules/unidiff { };
|
||||||
|
|
||||||
|
units = callPackage ../development/python-modules/units { };
|
||||||
|
|
||||||
unittest2 = callPackage ../development/python-modules/unittest2 { };
|
unittest2 = callPackage ../development/python-modules/unittest2 { };
|
||||||
|
|
||||||
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
|
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
|
||||||
|
|
Loading…
Reference in New Issue