about summary refs log tree commit diff
path: root/pkgs/development/compilers/mrustc/minicargo.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/mrustc/minicargo.nix')
-rw-r--r--pkgs/development/compilers/mrustc/minicargo.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/development/compilers/mrustc/minicargo.nix b/pkgs/development/compilers/mrustc/minicargo.nix
deleted file mode 100644
index 788534f39cd7..000000000000
--- a/pkgs/development/compilers/mrustc/minicargo.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ lib, stdenv
-, makeWrapper
-, mrustc
-}:
-
-stdenv.mkDerivation rec {
-  pname = "mrustc-minicargo";
-  inherit (mrustc) src version;
-
-  strictDeps = true;
-  nativeBuildInputs = [ makeWrapper ];
-
-  enableParallelBuilding = true;
-  makefile = "minicargo.mk";
-  makeFlags = [ "bin/minicargo" ];
-
-  installPhase = ''
-    runHook preInstall
-    mkdir -p $out/bin
-    cp bin/minicargo $out/bin
-
-    # without it, minicargo defaults to "<minicargo_path>/../bin/mrustc"
-    wrapProgram "$out/bin/minicargo" --set MRUSTC_PATH ${mrustc}/bin/mrustc
-    runHook postInstall
-  '';
-
-  meta = with lib; {
-    description = "Minimalist builder for Rust";
-    mainProgram = "minicargo";
-    longDescription = ''
-      A minimalist builder for Rust, similar to Cargo but written in C++.
-      Designed to work with mrustc to build Rust projects
-      (like the Rust compiler itself).
-    '';
-    inherit (src.meta) homepage;
-    license = licenses.mit;
-    maintainers = with maintainers; [ progval r-burns ];
-    platforms = [ "x86_64-linux" ];
-  };
-}