pkgs/bandcamp-downloader: init

This commit is contained in:
Aaron Bieber 2023-09-29 07:49:19 -06:00
parent 8acda017c1
commit 7596c6c4a5
No known key found for this signature in database
2 changed files with 82 additions and 0 deletions

View File

@ -307,6 +307,9 @@
kobuddy = upkgs.python3Packages.callPackage ./pkgs/kobuddy.nix {
inherit upkgs;
};
bandcamp-downloader = upkgs.python3Packages.callPackage ./pkgs/bandcamp-downloader.nix {
inherit upkgs;
};
ghexport = upkgs.python3Packages.callPackage ./pkgs/ghexport.nix {
inherit upkgs;
};

View File

@ -0,0 +1,79 @@
{ lib
, poetry-core
, fetchFromGitHub
, buildPythonPackage
, beautifulsoup4
, browser-cookie3
, certifi
, charset-normalizer
, cryptography
, idna
, importlib-metadata
, jaraco_classes
, jeepney
, keyring
, lz4
, more-itertools
, pbkdf2
, 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 = [
setuptools
beautifulsoup4
browser-cookie3
certifi
charset-normalizer
cryptography
idna
importlib-metadata
jaraco_classes
jeepney
keyring
lz4
more-itertools
pbkdf2
pyaes
pycparser
pycryptodome
requests
secretstorage
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 ];
};
}