depot/third_party/nixpkgs/pkgs/development/python-modules/stravalib/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

43 lines
718 B
Nix

{ 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 ];
};
}