depot/third_party/nixpkgs/pkgs/development/tools/zld/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
605 B
Nix

{ stdenv, lib, fetchzip }:
stdenv.mkDerivation rec {
pname = "zld";
version = "1.3.4";
src = fetchzip {
url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8=";
};
installPhase = ''
mkdir -p $out/bin
cp zld $out/bin/
'';
meta = with lib; {
description = "Faster version of Apple's linker";
homepage = "https://github.com/michaeleisel/zld";
license = licenses.mit;
maintainers = [ maintainers.rgnns ];
platforms = platforms.darwin;
hydraPlatforms = [];
};
}