scrape-yuanyuan/flake.nix

43 lines
860 B
Nix
Raw Normal View History

2022-04-09 14:44:18 +01:00
{
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 {
2022-04-09 22:33:43 +01:00
shellHook = ''
export PYTHONPATH="$(pwd)"
'';
2022-04-09 14:44:18 +01:00
nativeBuildInputs = with pkgs; [
2022-04-09 19:31:46 +01:00
zip
unzip
2022-04-09 17:43:37 +01:00
nodePackages.typescript-language-server
2022-04-09 14:44:18 +01:00
(python39.withPackages (pypkgs:
with pypkgs; [
beautifulsoup4
requests
python-lsp-server
python-lsp-black
pylsp-mypy
pyls-isort
]))
];
};
}
);
}