10 stdenv.mkDerivation (finalAttrs: {
11 pname = "ldid-procursus";
12 version = "2.1.5-procursus7";
14 src = fetchFromGitHub {
15 owner = "ProcursusTeam";
17 rev = "v${finalAttrs.version}";
18 hash = "sha256-QnSmWY9zCOPYAn2VHc5H+VQXjTCyr0EuosxvKGGpDtQ=";
21 nativeBuildInputs = [ pkg-config installShellFiles ];
22 buildInputs = [ libplist openssl ];
24 stripDebugFlags = [ "--strip-unneeded" ];
25 makeFlags = [ "PREFIX=${placeholder "out"}" ];
28 substituteInPlace Makefile \
29 --replace "pkg-config" "$PKG_CONFIG"
33 installShellCompletion --cmd ldid --zsh _ldid
38 description = "Put real or fake signatures in a Mach-O binary";
39 homepage = "https://github.com/ProcursusTeam/ldid";
40 maintainers = with maintainers; [ keto ];
41 platforms = platforms.unix;
42 license = licenses.agpl3Only;