nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchzip,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "zld";
9 version = "1.3.4";
10 src = fetchzip {
11 url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
12 sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8=";
13 };
14
15 installPhase = ''
16 mkdir -p $out/bin
17 cp zld $out/bin/
18 '';
19
20 meta = {
21 description = "Faster version of Apple's linker";
22 homepage = "https://github.com/michaeleisel/zld";
23 license = lib.licenses.mit;
24 maintainers = [ lib.maintainers.rgnns ];
25 platforms = lib.platforms.darwin;
26 hydraPlatforms = [ ];
27 };
28}