Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / bandcamp-api / default.nix
blob31efe43cbef59d0db9bbc1a981340e25d8fac63c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , beautifulsoup4
5 , demjson3
6 , html5lib
7 , lxml
8 , requests
9 }:
11 buildPythonPackage rec {
12   pname = "bandcamp-api";
13   version = "0.2.3";
15   format = "setuptools";
17   src = fetchPypi {
18     pname = "bandcamp_api";
19     inherit version;
20     hash = "sha256-7/WXMo7fCDMHATp4hEB8b7fNJWisUv06hbP+O878Phs=";
21   };
23   propagatedBuildInputs = [
24     beautifulsoup4
25     demjson3
26     html5lib
27     lxml
28     requests
29   ];
31   pythonImportsCheck = [ "bandcamp_api" ];
33   # upstream has no tests
34   doCheck = false;
36   meta = {
37     description = "Obtains information from bandcamp.com";
38     homepage = "https://github.com/RustyRin/bandcamp-api";
39     license = lib.licenses.gpl3Only;
40     maintainers = with lib.maintainers; [ dotlambda ];
41   };