nixpkgs/pkgs/development/tools/zld/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
607 B
Nix
Raw Normal View History

2022-03-18 00:59:05 +00:00
{ stdenv, lib, fetchzip }:
stdenv.mkDerivation rec {
pname = "zld";
2022-08-29 20:46:54 +00:00
version = "1.3.4";
2022-03-18 00:59:05 +00:00
src = fetchzip {
url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
2022-09-06 19:49:51 +00:00
sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8=";
2022-03-18 00:59:05 +00:00
};
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 = [];
};
}