Browse Source

Update shell.nix

master
Elis Hirwing 3 months ago
parent
commit
601f38fa2f
Signed by: Elis Hirwing <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
1 changed files with 4 additions and 17 deletions
  1. 4
    17
      shell.nix

+ 4
- 17
shell.nix View File

@@ -1,26 +1,13 @@
with (import <nixpkgs> {});

let
adafruit-ampy = python3Packages.buildPythonApplication rec {
pname = "adafruit-ampy";
version = "1.0.7";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1dz5sksalccv4c3bzk3c1jxpg3s28lwlw8hfwc9dfxhw3a1np3fd";
};

propagatedBuildInputs = with python3Packages; [ click python-dotenv setuptools_scm pyserial ];

# No tests
doCheck = false;
};

in mkShell {
mkShell {
buildInputs = [
adafruit-ampy
esptool
picocom
gnumake

# For tests of new things
esphome
];
}

Loading…
Cancel
Save