File size: 1,213 Bytes
784ee2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | {
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
openroad = {
type = "git";
url = "https://github.com/The-OpenROAD-Project/OpenROAD";
submodules = true;
rev = "7ecbe2e306a961888c17adc8eb761f51c94f06d8";
};
yosys = {
type = "git";
url = "https://github.com/The-OpenROAD-Project/yosys";
submodules = true;
rev = "c4b5190229616f7ebf8197f43990b4429de3e420";
};
};
outputs = { self, nixpkgs, flake-utils, openroad, yosys }: flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
buildInputs = [
openroad.packages.${system}.default
yosys.packages.${system}.default
pkgs.time
pkgs.klayout
pkgs.verilator
pkgs.perl
pkgs.python3
pkgs.python3Packages.pandas
pkgs.python3Packages.numpy
pkgs.python3Packages.firebase-admin
pkgs.python3Packages.click
pkgs.python3Packages.pyyaml
pkgs.python3Packages.yamlfix
];
};
}
);
}
|