Commit 369fdb3b authored by Aaron Jheng's avatar Aaron Jheng Committed by Yt
Browse files

gptcommit: 0.5.13 -> 0.5.14

parent 3ceeae86
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -5,12 +5,13 @@
, pkg-config
, nix-update-script
, Security
, SystemConfiguration
, openssl
}:

let
  pname = "gptcommit";
  version = "0.5.13";
  version = "0.5.14";
in
rustPlatform.buildRustPackage {
  inherit pname version;
@@ -19,17 +20,18 @@ rustPlatform.buildRustPackage {
    owner = "zurawiki";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-O0dqLN2wDXRIVcb9whlzK0BJOm/qhTH+nLpCwSUObng=";
    hash = "sha256-xjaFr1y2Fd7IWbJlegnIsfS5/oMJYd6QTnwp7IK17xM=";
  };

  cargoSha256 = "sha256-JwwQaThefWhJVRJ/a0WfdKJqr/NHgll6D6Y2QaeqWsc=";
  cargoHash = "sha256-VZrlEJi/UPQTGFiSpZs+Do+69CY3zdqGkAnUxMYvvaw=";

  nativeBuildInputs = [ pkg-config ];

  # 0.5.6 release has failing tests
  doCheck = false;

  buildInputs = lib.optionals stdenv.isDarwin [ Security ] ++ lib.optionals stdenv.isLinux [ openssl ];
  buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]
    ++ lib.optionals stdenv.isLinux [ openssl ];

  passthru = {
    updateScript = nix-update-script { };
+1 −1
Original line number Diff line number Diff line
@@ -8808,7 +8808,7 @@ with pkgs;
  gpt2tc = callPackage ../tools/text/gpt2tc { };
  gptcommit = callPackage ../development/tools/gptcommit {
    inherit (darwin.apple_sdk.frameworks) Security;
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };
  gptman = callPackage ../tools/system/gptman { };