about summary refs log tree commit diff
path: root/pkgs/development/tools/zld
diff options
context:
space:
mode:
authorGabriel Lievano <jglievano@gmail.com>2022-03-17 17:59:05 -0700
committerYt <raphael@megzari.com>2022-03-17 22:29:06 -0400
commit4e630bb272defb86d3d68a023574cd3411cb9af1 (patch)
tree6d3950d28cf10f29bf2cdeda2ce560f0557daf90 /pkgs/development/tools/zld
parenta62722a794e9caf1d6d92423ef358942ad12d8de (diff)
zld: init at 1.3.3
Diffstat (limited to 'pkgs/development/tools/zld')
-rw-r--r--pkgs/development/tools/zld/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/zld/default.nix b/pkgs/development/tools/zld/default.nix
new file mode 100644
index 0000000000000..408e3308b6587
--- /dev/null
+++ b/pkgs/development/tools/zld/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, lib, fetchzip }:
+
+stdenv.mkDerivation rec {
+  pname = "zld";
+  version = "1.3.3";
+  src = fetchzip {
+    url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
+    sha256 = "0qb4l7a4vhpnzkgzhw0jivz40jr5gdhqfyynhbkhn7ryh5s52d1p";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp zld $out/bin/
+  '';
+
+  meta = with lib; {
+    description = "A faster version of Apple's linker";
+    homepage = "https://github.com/michaeleisel/zld";
+    license = licenses.mit;
+    maintainers = [ maintainers.rgnns ];
+    platforms = platforms.darwin;
+    hydraPlatforms = [];
+  };
+}