1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 beautifulsoup4,
6 demjson3,
7 html5lib,
8 lxml,
9 requests,
10}:
11
12buildPythonPackage rec {
13 pname = "bandcamp-api";
14 version = "0.2.3";
15
16 format = "setuptools";
17
18 src = fetchPypi {
19 pname = "bandcamp_api";
20 inherit version;
21 hash = "sha256-7/WXMo7fCDMHATp4hEB8b7fNJWisUv06hbP+O878Phs=";
22 };
23
24 propagatedBuildInputs = [
25 beautifulsoup4
26 demjson3
27 html5lib
28 lxml
29 requests
30 ];
31
32 pythonImportsCheck = [ "bandcamp_api" ];
33
34 # upstream has no tests
35 doCheck = false;
36
37 meta = {
38 description = "Obtains information from bandcamp.com";
39 homepage = "https://github.com/RustyRin/bandcamp-api";
40 license = lib.licenses.gpl3Only;
41 maintainers = with lib.maintainers; [ dotlambda ];
42 };
43}