34 lines
693 B
Nix
34 lines
693 B
Nix
|
{
|
||
|
description = "Website scraping to help with stuff";
|
||
|
|
||
|
inputs = {
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
flake-utils,
|
||
|
}:
|
||
|
flake-utils.lib.eachDefaultSystem (
|
||
|
system: let
|
||
|
pkgs = import nixpkgs {inherit system;};
|
||
|
in {
|
||
|
devShell = pkgs.mkShell {
|
||
|
nativeBuildInputs = with pkgs; [
|
||
|
(python39.withPackages (pypkgs:
|
||
|
with pypkgs; [
|
||
|
beautifulsoup4
|
||
|
requests
|
||
|
|
||
|
python-lsp-server
|
||
|
python-lsp-black
|
||
|
pylsp-mypy
|
||
|
pyls-isort
|
||
|
]))
|
||
|
];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|