rtio-nmigen/shell.nix

18 lines
466 B
Nix
Raw Normal View History

2020-09-24 15:11:24 +08:00
let
pkgs = import <nixpkgs> {};
nmigen-latest = pkgs.python3Packages.nmigen.overrideAttrs(oa: {
src = pkgs.fetchFromGitHub {
2020-10-08 13:52:35 +08:00
owner = "DonaldKellett";
2020-09-24 15:11:24 +08:00
repo = "nmigen";
2020-10-08 13:52:35 +08:00
rev = "ec914ed1d4d3a601eb78638bb70fe9a8996ca4e1";
sha256 = "1ya874vzirv3n05c6x5kc7rkard13nnrvnxxkl9lgfhr57iw6hib";
2020-09-24 15:11:24 +08:00
};
});
in
pkgs.mkShell {
buildInputs = [
(pkgs.python3.withPackages(ps: [nmigen-latest]))
pkgs.yosys pkgs.symbiyosys
];
}