Commit af7ff9f2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

keyscope: migrate to pkgs/by-name

parent 617d6a5f
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
{
  lib,
  DiskArbitration,
  fetchFromGitHub,
  Foundation,
  gitUpdater,
  IOKit,
  openssl,
  pkg-config,
  rustPlatform,
  Security,
  stdenv,
}:

rustPlatform.buildRustPackage rec {
@@ -27,14 +22,7 @@ rustPlatform.buildRustPackage rec {

  nativeBuildInputs = [ pkg-config ];

  buildInputs =
    [ openssl ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      DiskArbitration
      Foundation
      IOKit
      Security
    ];
  buildInputs = [ openssl ];

  # build script tries to get information from git
  postPatch = ''
+0 −4
Original line number Diff line number Diff line
@@ -3907,10 +3907,6 @@ with pkgs;
  keybase-gui = callPackage ../tools/security/keybase/gui.nix { };
  keyscope = callPackage ../tools/security/keyscope {
    inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit Security;
  };
  keystore-explorer = callPackage ../applications/misc/keystore-explorer {
    jdk = jdk11;
  };