move mypy/ipdb to devshell
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, clan-cli
|
, clan-cli
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, mypy
|
|
||||||
, ipdb
|
, ipdb
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -35,7 +34,7 @@ python3.pkgs.buildPythonApplication {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ spice-gtk gtk3 gnome.adwaita-icon-theme ];
|
buildInputs = [ spice-gtk gtk3 gnome.adwaita-icon-theme ];
|
||||||
propagatedBuildInputs = [ mypy ipdb pygobject3 clan-cli ];
|
propagatedBuildInputs = [ pygobject3 clan-cli ];
|
||||||
|
|
||||||
# also re-expose dependencies so we test them in CI
|
# also re-expose dependencies so we test them in CI
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
{ clan-vm-manager, clan-cli, mkShell, ruff, desktop-file-utils, xdg-utils }:
|
{ clan-vm-manager, clan-cli, mkShell, ruff, desktop-file-utils, xdg-utils, mypy, python3Packages }:
|
||||||
mkShell {
|
mkShell {
|
||||||
inherit (clan-vm-manager) propagatedBuildInputs buildInputs;
|
inherit (clan-vm-manager) propagatedBuildInputs buildInputs;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
ruff
|
ruff
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
mypy
|
||||||
|
python3Packages.ipdb
|
||||||
] ++ clan-vm-manager.nativeBuildInputs;
|
] ++ clan-vm-manager.nativeBuildInputs;
|
||||||
|
|
||||||
PYTHONBREAKPOINT = "ipdb.set_trace";
|
PYTHONBREAKPOINT = "ipdb.set_trace";
|
||||||
|
|||||||
Reference in New Issue
Block a user