add flake.nix dev shell

This commit is contained in:
2026-07-29 18:41:14 +02:00
parent ae92b23e1a
commit 8657fb9d5f
3 changed files with 37 additions and 21 deletions
+37
View File
@@ -0,0 +1,37 @@
{
description = "free-bandcamp-downloader flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
packageOverrides = pkgs.callPackage ./python-packages.nix { };
python = pkgs.python3.override { inherit packageOverrides; };
in
{
devShells.x86_64-linux.default = pkgs.mkShell {
packages = [
(python.withPackages (
p: with p; [
requests
beautifulsoup4
tqdm
urllib3
docopt-ng
pyrfc6266
python-guerrillamail
]
))
];
};
};
}