Unverified Commit 96e67743 authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

ox: switch to the new darwin sdk pattern

parent 992c80c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin }:
{ lib, stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "ox";
@@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-2Jk8uDiTGUQqLOOQVlYm5R7qQXIqP0PkFvv5E5qTzT0=";

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];

  meta = with lib; {
    description = "Independent Rust text editor that runs in your terminal";
    homepage = "https://github.com/curlpipe/ox";