TDT4310-project-sorted-japa.../flake.nix

31 lines
593 B
Nix

{
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
};
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
unidic = pkgs.callPackage ./nix/unidic.nix pkgs.python3Packages;
};
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
mecab
] ++ (with pkgs.python3Packages; [
# flask
# flask-cors
mecab-python3
nltk
pandas
# pip
python
scikit-learn
spacy
]);
};
};
}