Skip to content

Commit

Permalink
stravaweblib: init at 0.0.8 (#350041)
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar authored Oct 28, 2024
2 parents dc40235 + f12a377 commit 921f518
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pkgs/development/python-modules/stravaweblib/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,

# setuptools
setuptools,
setuptools-scm,

# dependencies
stravalib,
beautifulsoup4,
}:

buildPythonPackage rec {
pname = "stravaweblib";
version = "0.0.8";

src = fetchFromGitHub {
owner = "pR0Ps";
repo = "stravaweblib";
rev = "refs/tags/v${version}";
hash = "sha256-v54UeRjhoH0GN2AVFKRjqKJ6BYUXVATe2qoDk9P48oU=";
};

build-system = [
setuptools
setuptools-scm
];

dependencies = [
stravalib
beautifulsoup4
];

pythonImportsCheck = [ "stravaweblib" ];

meta = {
description = "Python library for extending the Strava v3 API using web scraping";
homepage = "https://github.com/pR0Ps/stravaweblib";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ stv0g ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15119,6 +15119,8 @@ self: super: with self; {

stravalib = callPackage ../development/python-modules/stravalib { };

stravaweblib = callPackage ../development/python-modules/stravaweblib { };

strawberry-graphql = callPackage ../development/python-modules/strawberry-graphql { };

strawberry-django = callPackage ../development/python-modules/strawberry-django { };
Expand Down

0 comments on commit 921f518

Please sign in to comment.