depot/pkgs/development/tools/zld/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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 = [];
};
}