anchor.diff:  , rustPlatform
   , cmake
   , pkg-config
  -, python3
   , perl
  -, freetype
   , fontconfig
  -, libxkbcommon
  -, xcbutil
  -, libX11
  -, libXcursor
  -, libXrandr
  -, libXi
  -, vulkan-loader
   , copyDesktopItems
   , makeDesktopItem
  +, glib
  +, gtk3
   , openssl
   , libobjc
   , Security
  
positive.code: 
  rustPlatform.buildRustPackage rec {
    pname = "lapce";
    version = "0.1.0";
  
    src = fetchFromGitHub {
      owner = "lapce";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-KSumy7M7VNUib4CZ0ikBboEFMzDQt4xW+aUFHOi+0pA=";
    };
  
    cargoSha256 = "sha256-7SVTcH9/Ilq8HcpJJI0KFiQA076lR2CAIBwmTVgmnjE=";
  
    nativeBuildInputs = [
      cmake
      pkg-config
      python3
      perl
      copyDesktopItems
    ];
  
negative.code:     Carbon
      AppKit
    ];
  
    postInstall = ''
      install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg
  