Files
2026-06-06 01:18:06 +07:00

48 lines
854 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
beautifulsoup4,
demjson3,
html5lib,
lxml,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "bandcamp-api";
version = "0.2.3";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "bandcamp_api";
inherit (finalAttrs) version;
hash = "sha256-7/WXMo7fCDMHATp4hEB8b7fNJWisUv06hbP+O878Phs=";
};
build-system = [ setuptools ];
dependencies = [
beautifulsoup4
demjson3
html5lib
lxml
requests
];
pythonImportsCheck = [ "bandcamp_api" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Obtains information from bandcamp.com";
homepage = "https://github.com/RustyRin/bandcamp-api";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
})