blob: d3c11d917fccfcb1a080b89bf1672bc8d1a02fd7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
# setuptools
setuptools,
setuptools-scm,
# dependencies
stravalib,
beautifulsoup4,
}:
buildPythonPackage rec {
pname = "stravaweblib";
version = "0.0.8";
src = fetchFromGitHub {
owner = "pR0Ps";
repo = "stravaweblib";
tag = "v${version}";
hash = "sha256-v54UeRjhoH0GN2AVFKRjqKJ6BYUXVATe2qoDk9P48oU=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
stravalib
beautifulsoup4
];
pythonImportsCheck = [ "stravaweblib" ];
passthru.updateScript = nix-update-script { };
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 ];
};
}
|