8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
14 repo = "apple-platform-rs";
15 rev = "apple-codesign/${version}";
16 hash = "sha256-ndbDBGtTOfHHUquKrETe4a+hB5Za9samlnXwVGVvWy4=";
19 cargoHash = "sha256-cpQBdxTw/ge4VtzjdL2a2xgSeCT22fMIjuKu5UEedhI=";
21 buildInputs = lib.optionals stdenv.isDarwin [
22 darwin.apple_sdk_11_0.frameworks.Security
26 # Only build the binary we want
33 "--skip=ticket_lookup::test::lookup_ticket"
37 description = "A cross-platform CLI interface to interact with Apple code signing.";
39 rcodesign provides various commands to interact with Apple signing,
40 including signing and notarizing binaries, generating signing
41 certificates, and verifying existing signed binaries.
43 For more information, refer to the [documentation](https://gregoryszorc.com/docs/apple-codesign/stable/apple_codesign_rcodesign.html).
45 homepage = "https://github.com/indygreg/apple-platform-rs";
46 license = licenses.mpl20;
47 maintainers = with maintainers; [ euank ];