18 lines
459 B
Nix
18 lines
459 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
nmigen-latest = pkgs.python3Packages.nmigen.overrideAttrs(oa: {
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "m-labs";
|
|
repo = "nmigen";
|
|
rev = "1ad6e3207f02e913407867dddddb8f50fad0ced4";
|
|
sha256 = "14vvw1lcfmcf3374wpn3sslgvgcfg18rkbs8x45vycqag6a5zy0b";
|
|
};
|
|
});
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
(pkgs.python3.withPackages(ps: [nmigen-latest]))
|
|
pkgs.yosys pkgs.symbiyosys
|
|
];
|
|
}
|