Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, beautifulsoup4 5, demjson3 6, html5lib 7, lxml 8, requests 9}: 10 11buildPythonPackage rec { 12 pname = "bandcamp-api"; 13 version = "0.2.2"; 14 15 format = "setuptools"; 16 17 src = fetchPypi { 18 pname = "bandcamp_api"; 19 inherit version; 20 hash = "sha256-v/iACVcBFC/3x4v7Q/1p+aHGhfw3AQ43eU3sKz5BskI="; 21 }; 22 23 propagatedBuildInputs = [ 24 beautifulsoup4 25 demjson3 26 html5lib 27 lxml 28 requests 29 ]; 30 31 pythonImportsCheck = [ "bandcamp_api" ]; 32 33 # upstream has no tests 34 doCheck = false; 35 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 }; 42}