2023-09-29 07:49:19 -06:00
|
|
|
{ lib
|
|
|
|
, beautifulsoup4
|
|
|
|
, browser-cookie3
|
2023-10-11 07:37:34 -06:00
|
|
|
, buildPythonPackage
|
2023-09-29 07:49:19 -06:00
|
|
|
, certifi
|
|
|
|
, charset-normalizer
|
|
|
|
, cryptography
|
2023-10-11 07:37:34 -06:00
|
|
|
, fetchFromGitHub
|
2023-09-29 07:49:19 -06:00
|
|
|
, idna
|
|
|
|
, importlib-metadata
|
|
|
|
, jaraco_classes
|
|
|
|
, jeepney
|
|
|
|
, keyring
|
|
|
|
, lz4
|
|
|
|
, more-itertools
|
|
|
|
, pbkdf2
|
2023-10-11 07:37:34 -06:00
|
|
|
, poetry-core
|
2023-09-29 07:49:19 -06:00
|
|
|
, pyaes
|
|
|
|
, pycparser
|
|
|
|
, pycryptodome
|
|
|
|
, requests
|
|
|
|
, secretstorage
|
|
|
|
, setuptools
|
|
|
|
, soupsieve
|
|
|
|
, tqdm
|
|
|
|
, urllib3
|
|
|
|
, zipp
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bandcamp-downloader";
|
|
|
|
version = "unstable-2023-09-22";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "easlice";
|
|
|
|
repo = pname;
|
|
|
|
rev = "871cedf285a8e8a60b156086ad3222ce49e90c7f";
|
|
|
|
hash = "sha256-hCQhzxuSqAQhEAmev+bTfMykFKaOItx/iLxaghLl79M=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
beautifulsoup4
|
|
|
|
browser-cookie3
|
|
|
|
certifi
|
|
|
|
charset-normalizer
|
|
|
|
cryptography
|
|
|
|
idna
|
|
|
|
importlib-metadata
|
|
|
|
jaraco_classes
|
|
|
|
jeepney
|
|
|
|
keyring
|
|
|
|
lz4
|
|
|
|
more-itertools
|
|
|
|
pbkdf2
|
2023-10-11 07:37:34 -06:00
|
|
|
poetry-core
|
2023-09-29 07:49:19 -06:00
|
|
|
pyaes
|
|
|
|
pycparser
|
|
|
|
pycryptodome
|
|
|
|
requests
|
|
|
|
secretstorage
|
2023-10-11 07:37:34 -06:00
|
|
|
setuptools
|
2023-09-29 07:49:19 -06:00
|
|
|
soupsieve
|
|
|
|
tqdm
|
|
|
|
urllib3
|
|
|
|
zipp
|
|
|
|
];
|
|
|
|
#nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
|
|
|
|
#doCheck = false;
|
|
|
|
|
|
|
|
#pythonImportsCheck = [ "dataset" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Download your bandcamp collection";
|
|
|
|
homepage = "https://github.com/easlice/bandcamp-downloader";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
2023-09-29 07:57:51 -06:00
|
|
|
mainProgram = "bandcamp-downloader.py";
|
2023-09-29 07:49:19 -06:00
|
|
|
};
|
|
|
|
}
|