aboutsummaryrefslogtreecommitdiff
path: root/devShells
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-03-15 10:56:06 +0100
committerKarel Kočí <cynerd@email.cz>2024-03-15 10:56:06 +0100
commit37cb70e417010417fabb10c789c87a5eb79ac151 (patch)
treee31f2f421551cf68b37088577e74e7c9c265b053 /devShells
parentb02fd72da221fdecad6840fde9e9bff611276efa (diff)
downloadnixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.tar.gz
nixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.tar.bz2
nixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.zip
devShells: drop those that I do not use offten
Diffstat (limited to 'devShells')
-rw-r--r--devShells/default.nix7
-rw-r--r--devShells/nuttx.nix38
-rw-r--r--devShells/python.nix51
-rw-r--r--devShells/qt.nix15
4 files changed, 0 insertions, 111 deletions
diff --git a/devShells/default.nix b/devShells/default.nix
index 1e46ad0..882f828 100644
--- a/devShells/default.nix
+++ b/devShells/default.nix
@@ -1,11 +1,4 @@
pkgs: rec {
- armv7e = import ./nuttx.nix pkgs c {
- arch = "armv7e-m";
- fpu = "vfpv3-d16";
- };
- espc = import ./nuttx.nix pkgs c {arch = "rv32imc";};
c = import ./c.nix pkgs;
- qt = import ./qt.nix pkgs c;
- python = import ./python.nix pkgs;
apo = import ./apo.nix pkgs c;
}
diff --git a/devShells/nuttx.nix b/devShells/nuttx.nix
deleted file mode 100644
index 97675e9..0000000
--- a/devShells/nuttx.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-pkgs: c: {
- arch,
- fpu ? null,
-}:
-with builtins;
-with pkgs.lib; let
- pkgsCross = import pkgs.path {
- localSystem = pkgs.buildPlatform.system;
- crossSystem = {
- config =
- if (hasPrefix "armv" arch)
- then "arm-none-eabi" + (optionalString (fpu != null) "hf")
- else "riscv32-none-elf";
- libc = "newlib";
- gcc =
- {
- inherit arch;
- }
- // (optionalAttrs (fpu != null) {inherit fpu;});
- };
- };
-in
- pkgsCross.buildPackages.mkShell {
- packages = with pkgsCross.buildPackages;
- [
- kconfig-frontends
- genromfs
- xxd
- openocd
- gcc
- gdb
- ]
- ++ (optionals (hasPrefix "rv32" arch) [
- esptool
- ]);
- inputsFrom = [c];
- meta.platforms = pkgsCross.lib.platforms.linux;
- }
diff --git a/devShells/python.nix b/devShells/python.nix
deleted file mode 100644
index 1bd1dad..0000000
--- a/devShells/python.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-pkgs:
-pkgs.mkShell {
- packages = with pkgs; [
- (python3.withPackages (pypkgs:
- with pypkgs; [
- ipython
-
- pytest
- pytest-html
- pytest-tap
- coverage
- python-lsp-black
- pylint
- pydocstyle
- mypy
-
- pygraphviz
- matplotlib
-
- python-gitlab
- PyGithub
-
- schema
- jinja2
- ruamel-yaml
- msgpack
- urllib3
-
- influxdb-client
- #psycopg
- paho-mqtt
-
- humanize
- rich
-
- pygobject3
-
- pyserial
- pylibftdi
- pylxd
- selenium
- ]))
- geckodriver
- chromedriver
-
- gobject-introspection
- gtk3
- gtk4
- ];
- meta.platforms = pkgs.lib.platforms.linux;
-}
diff --git a/devShells/qt.nix b/devShells/qt.nix
deleted file mode 100644
index 35558c2..0000000
--- a/devShells/qt.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-pkgs: c:
-pkgs.mkShell {
- packages = with pkgs;
- with libsForQt5; [
- qtbase
- qttranslations
- qtserialport
- qtwebsockets
- doctest
- qtcharts
- qtwayland
- ];
- inputsFrom = [c];
- meta.platforms = pkgs.lib.platforms.linux;
-}