gary/flake.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2024-08-12 09:36:28 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
system = system;
config = { allowUnfree = true; };
};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
bluespec
vscode
dfu-util
fujprog
git
go_1_22
gotools
gtkwave
imagemagick
nextpnrWithGui
2024-08-12 09:36:28 +02:00
openfpgaloader
picocom
2024-08-12 11:13:05 +02:00
(python3.withPackages (py-pkgs: [
py-pkgs.invoke
py-pkgs.distutils
py-pkgs.xdot
2024-08-12 11:13:05 +02:00
]))
svlint
svls
2024-08-12 09:36:28 +02:00
symbiyosys
trellis
verilator
xdot
yices
yosys
z3
kgraphviewer
iverilog
2024-08-12 09:36:28 +02:00
];
};
});
}