add nix package

This commit is contained in:
2026-07-29 20:44:21 +02:00
parent 8657fb9d5f
commit 8b9fa0ef80
3 changed files with 162 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{ pkgs }:
pkgs.python3Packages.buildPythonApplication rec {
pname = "free_bandcamp_downloader";
version = "0.5.1";
pyproject = true;
python = pkgs.python3.override {
packageOverrides = pkgs.callPackage ./python-packages.nix { };
};
src = ./.;
nativeBuildInputs = with python.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with pkgs.python3Packages; [
beautifulsoup4
tqdm
docopt-ng
python.pkgs.pyrfc6266
python.pkgs.python-guerrillamail
];
# dontUnpack = true;
# installPhase = ''
# mkdir -p "$out/${python.sitePackages}"
# cp -r "${./${pname}}" "${python.sitePackages}/${pname}"
# '';
}