Skip to content

Commit

Permalink
fix(python/ml): repair natasha pkg
Browse files Browse the repository at this point in the history
mrtnvgr committed Mar 28, 2024
1 parent 6eca44d commit 855f164
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/desktop/dev/python.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,15 @@
let
inherit (lib) mkIf mkEnableOption;

# TODO: https://github.com/NixOS/nixpkgs/pull/298964
natashaPkgs = import (pkgs.fetchFromGitHub {
owner = "mrtnvgr";
repo = "nixpkgs";
rev = "fix/razdel";
hash = "sha256-7hOemLE4VditQUd4FrybCaV57RkJIOtUf6rlpDzJvrc=";
}) { system = pkgs.stdenv.system; };
natasha = natashaPkgs.python3Packages.natasha;

pypkgs = ps: with ps; [
# Essentials
requests
@@ -13,6 +22,10 @@ let
# Web scraping
beautifulsoup4

# Notebooks
jupyter
ipython

# Machine learning
numpy
matplotlib

0 comments on commit 855f164

Please sign in to comment.