add nix package
This commit is contained in:
+32
@@ -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}"
|
||||
# '';
|
||||
}
|
||||
Reference in New Issue
Block a user