From 369fdb3be8dfd6ce45a61152d161b2c9c0c8a873 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 17 Oct 2023 14:09:12 +0800 Subject: [PATCH] gptcommit: 0.5.13 -> 0.5.14 --- pkgs/development/tools/gptcommit/default.nix | 10 ++++++---- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/gptcommit/default.nix b/pkgs/development/tools/gptcommit/default.nix index 853e76a864fb..3b7892022b85 100644 --- a/pkgs/development/tools/gptcommit/default.nix +++ b/pkgs/development/tools/gptcommit/default.nix @@ -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 { }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c2986d8d0bcd..301a4bdb9574 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };