Skip to content

Commit

Permalink
add python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Mar 31, 2024
1 parent 932bf84 commit 1f68e8f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
4 changes: 4 additions & 0 deletions bin/sysdo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
sysdo:
a minimal task runner for local nixos and nix-darwin deployments
"""
import os
import subprocess
from enum import Enum
Expand Down
4 changes: 4 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
pkgs.nixfmt-rfc-style
self.packages.${pkgs.system}.pyEnv
(inputs.treefmt-nix.lib.mkWrapper pkgs (import ./treefmt.nix))
(pkgs.python3.withPackages (ps: [
ps.typer
#ps.networkx
]))
];

pre-commit = {
Expand Down
13 changes: 4 additions & 9 deletions modules/home-manager/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,10 @@
pkgs.xz
pkgs.yq-go # yaml processer https://github.com/mikefarah/yq
pkgs.zstd
# python with default packages
# (pkgs.python3.withPackages (
# ps: [
# #ps.numpy
# #ps.scipy
# #ps.matplotlib
# #ps.networkx
# ]
# ))
(pkgs.python3.withPackages (ps: [
ps.typer
#ps.networkx
]))
];
};

Expand Down

0 comments on commit 1f68e8f

Please sign in to comment.