Commit 5fd77b8b authored by Fabian Affolter's avatar Fabian Affolter
Browse files

authoscope: move to pkgs/by-name

parent 801ca9c5
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  darwin,
  fetchFromGitHub,
  installShellFiles,
  libcap,
@@ -8,7 +9,6 @@
  openssl,
  pkg-config,
  rustPlatform,
  Security,
  zlib,
}:

@@ -30,11 +30,15 @@ rustPlatform.buildRustPackage rec {
    pkg-config
  ];

  buildInputs = [
  buildInputs =
    [
      libcap
      zlib
      openssl
  ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
    ]
    ++ lib.optional stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.Security
    ];

  postInstall = ''
    installManPage docs/${pname}.1
+0 −4
Original line number Diff line number Diff line
@@ -1948,10 +1948,6 @@ with pkgs;
    buildGoModule = buildGo123Module;
  };
  authoscope = callPackage ../tools/security/authoscope {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  avahi = callPackage ../development/libraries/avahi { };
  avahi-compat = callPackage ../development/libraries/avahi {