2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv, lib, fetchzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zld";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.3.4";
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8=";
|
2022-03-30 09:31:56 +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 = [];
|
|
|
|
};
|
|
|
|
}
|