Browse Source

Wrap up a derivation for ampy

master
Elis Hirwing 2 years ago
parent
commit
59e40fcc57
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 19
      shell.nix

19
shell.nix

@ -1,7 +1,24 @@
with (import <nixpkgs> {});
mkShell {
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 {
buildInputs = [
adafruit-ampy
esptool
picocom
gnumake

Loading…
Cancel
Save