big-sign/flake.nix

25 lines
540 B
Nix
Raw Permalink Normal View History

2024-03-09 19:59:37 +00:00
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
dependencies= ps: with ps; [
pyserial
];
in
{
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(python311.withPackages dependencies)
];
};
});
}