diff --git a/flake.nix b/flake.nix index c993c63..4e04528 100644 --- a/flake.nix +++ b/flake.nix @@ -70,8 +70,6 @@ inherit (moppkgs.packages.${system}) edalize; - yosys-slang = pkgs.callPackage ./pkgs/yosys-slang.nix { }; - # fusesoc lib is accessible thru `packages.${system}.fusesoc.lib` fusesoc = let diff --git a/pkgs/yosys-slang.nix b/pkgs/yosys-slang.nix deleted file mode 100644 index d59a163..0000000 --- a/pkgs/yosys-slang.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - lib, - fetchFromGitHub, - stdenv, - gnumake, - cmake, - python3, - yosys, -}: -stdenv.mkDerivation (finalAttrs: { - pname = "yosys-slang"; - version = "0-unstable-2026-03-16"; - plugin = "slang"; - - src = fetchFromGitHub { - owner = "povik"; - repo = "yosys-slang"; - rev = "8c82a4b7c4dff83d1d446610d8ee582aa094fd9d"; - hash = "sha256-wpOeskpD9kK0d163G1zn5atO4An80xNREaahmHFGPsY="; - fetchSubmodules = true; # Needed to fetch the pinned slang source - }; - - nativeBuildInputs = [ - gnumake - cmake - python3 - yosys - ]; - - installPhase = '' - mkdir -p $out/share/yosys/plugins - cp slang.so $out/share/yosys/plugins/slang.so - ''; - - meta = { - description = "Slang plugin for Yosys providing a SystemVerilog frontend."; - homepage = "https://github.com/povik/yosys-slang"; - license = lib.licenses.isc; - platforms = lib.platforms.all; - }; -})