cotp: use new Darwin SDK pattern
This commit is contained in:
parent
512e87a0f8
commit
f2ffd24d2a
@ -2,7 +2,6 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, AppKit
|
|
||||||
, libxcb
|
, libxcb
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,8 +18,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
|
cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ];
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/replydev/cotp";
|
homepage = "https://github.com/replydev/cotp";
|
||||||
|
@ -292,9 +292,7 @@ with pkgs;
|
|||||||
|
|
||||||
cloak = callPackage ../applications/misc/cloak { };
|
cloak = callPackage ../applications/misc/cloak { };
|
||||||
|
|
||||||
cotp = callPackage ../applications/misc/cotp {
|
cotp = callPackage ../applications/misc/cotp { };
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
|
||||||
};
|
|
||||||
|
|
||||||
cope = callPackage ../by-name/co/cope/package.nix {
|
cope = callPackage ../by-name/co/cope/package.nix {
|
||||||
perl = perl538;
|
perl = perl538;
|
||||||
|
Loading…
Reference in New Issue
Block a user