about summary refs log tree commit diff
path: root/pkgs/development/compilers/myrddin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/myrddin/default.nix')
-rw-r--r--pkgs/development/compilers/myrddin/default.nix58
1 files changed, 0 insertions, 58 deletions
diff --git a/pkgs/development/compilers/myrddin/default.nix b/pkgs/development/compilers/myrddin/default.nix
deleted file mode 100644
index b682b1e0ac54..000000000000
--- a/pkgs/development/compilers/myrddin/default.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ stdenv
-, lib
-, fetchFromGitHub
-, pkg-config
-, bison
-, binutils
-, makeWrapper
-}:
-
-stdenv.mkDerivation rec {
-  pname = "myrddin";
-  version = "0.3.1";
-
-  src = fetchFromGitHub {
-    repo = "mc";
-    owner = "oridb";
-    rev = "r${version}";
-    sha256 = "7ImjiG/rIKGPHq3Vh/mftY7pqw/vfOxD3LJeT87HmCk=";
-  };
-
-  nativeBuildInputs = [
-    bison
-    pkg-config
-    makeWrapper
-  ];
-
-  postPatch = ''
-    substituteInPlace mk/c.mk \
-      --replace "-Werror" ""
-  '';
-
-  buildPhase = ''
-    make bootstrap -j$NIX_BUILD_CORES
-    make -j$NIX_BUILD_CORES
-  '';
-
-  postInstall = ''
-    for b in $out/bin/*; do
-      wrapProgram $b --prefix PATH : $out/bin:${lib.makeBinPath [ binutils ]}
-    done
-  '';
-
-  checkPhase = ''
-    make check
-  '';
-
-  doCheck = true;
-
-  meta = with lib; {
-    description = "Systems language that is both powerful and fun to use";
-    homepage = "https://myrlang.org/";
-    license = licenses.mit;
-    maintainers = with maintainers; [ luc65r ];
-    platforms = platforms.all;
-    # darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/myrddin.x86_64-darwin
-    broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
-  };
-}