Skip to content

Commit

Permalink
Add patches verilog-ethernet version
Browse files Browse the repository at this point in the history
This removes a non-existing parameter from an ddr primitive
instantiation.
See alexforencich/verilog-ethernet#214
  • Loading branch information
lmbollen committed Jul 18, 2024
1 parent d46f927 commit 1493260
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion nix/verilog-ethernet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@

pkgs.stdenv.mkDerivation rec {
name = "verilog-ethernet";
src = verilog-ethernet-patches;

src = pkgs.fetchgit {
verilog-ethernet-src = pkgs.fetchgit {
url = "https://github.com/alexforencich/verilog-ethernet.git";
rev = "baac5f8d811d43853d59d69957975ead8bbed088";
sha256 = "sha256-rxoUHjOxxQc/JjEp06vibCJ2OIWbsbEtnkqS1gS+A7g=";
};

verilog-ethernet-patches = pkgs.applyPatches {
name = "verilog-ethernet-patched";
src = verilog-ethernet-src;
patches = [
(pkgs.fetchpatch {
url = "https://github.com/lmbollen/verilog-ethernet/commit/f762edd71dfebc129dacac64ff5cd5fbf7d67801.patch";
hash = "sha256-hKHsNViPInDKzOP3OwMZFlQ0RjYYTFPRu6rOJF1g0hQ=";
})
];
};

installPhase = ''
mkdir -p $out
mv * $out
Expand Down

0 comments on commit 1493260

Please sign in to comment.