pkgs/bandcamp-downloader: init
This commit is contained in:
parent
8acda017c1
commit
7596c6c4a5
@ -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;
|
||||
};
|
||||
|
79
pkgs/bandcamp-downloader.nix
Normal file
79
pkgs/bandcamp-downloader.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user