Merge pull request #218105 from marsam/update-kbs2

kbs2: 0.6.0 -> 0.7.1
This commit is contained in:
Nick Cao 2023-02-25 09:53:17 +08:00 committed by GitHub
commit 39e27f3cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 6 deletions

View File

@ -1,24 +1,33 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb, AppKit, libiconv }:
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, python3
, libxcb
, AppKit
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "kbs2";
version = "0.6.0";
version = "0.7.1";
src = fetchFromGitHub {
owner = "woodruffw";
repo = pname;
rev = "v${version}";
sha256 = "sha256-clbd4xHHGpFIr4s3Jocw4oQ3GbyGWMxZEVgj6JpVK94=";
hash = "sha256-lTxHG+Gul9yMdNPXiomP6crzF5J4wIKzeNyEHnlNM/4=";
};
cargoSha256 = "sha256-gfrC9TOs/Vz3K1gVr6MJ1QAKCE5WOD8VZ/tjOw3Y1uI=";
cargoHash = "sha256-X5WlEvOmbZ3STogoFjDhT2zF5Udt6ABaD+f1qBvmNYE=";
nativeBuildInputs = [ installShellFiles ]
++ lib.optionals stdenv.isLinux [ python3 ];
buildInputs = [ ]
++ lib.optionals stdenv.isLinux [ libxcb ]
++ lib.optionals stdenv.isDarwin [ AppKit libiconv ];
++ lib.optionals stdenv.isDarwin [ SystemConfiguration AppKit ];
preCheck = ''
export HOME=$TMPDIR

View File

@ -8782,7 +8782,7 @@ with pkgs;
kbdd = callPackage ../applications/window-managers/kbdd { };
kbs2 = callPackage ../tools/security/kbs2 {
inherit (darwin.apple_sdk.frameworks) AppKit;
inherit (darwin.apple_sdk.frameworks) AppKit SystemConfiguration;
};
kdash = callPackage ../development/tools/kdash {