firmware: add shell.nix for CI/local repro

bug_fixes_integration_tx
Steve Kelly 2021-11-25 21:37:38 -05:00
rodzic 361dd5ba6b
commit 2c70ed1f3f
1 zmienionych plików z 23 dodań i 0 usunięć

23
firmware/shell.nix 100644
Wyświetl plik

@ -0,0 +1,23 @@
# This is a nix-shell for use with the nix package manager.
# If you have nix installed, you may simply run `nix-shell`
# in this repo, and have all dependencies ready in the new shell.
{pkgs ? import (builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
name = "nixos-2021-05";
# Commit hash
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
}) {}}:
pkgs.mkShell {
buildInputs = with pkgs;
[
yosys
nextpnr
icestorm
];
}