Unverified Commit 5b7d1351 authored by Defelo's avatar Defelo
Browse files
parent 07ed8b53
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -12,21 +12,20 @@
  versionCheckHook,
  nix-update-script,
  withClipboard ? true,
  withTrash ? !stdenv.hostPlatform.isDarwin,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "broot";
  version = "1.49.1";
  version = "1.53.0";

  src = fetchFromGitHub {
    owner = "Canop";
    repo = "broot";
    tag = "v${finalAttrs.version}";
    hash = "sha256-zDy494qIoo4r+oCnrMvYSetmqsWCWfS5PAVlp8sU8Zk=";
    hash = "sha256-iiKfS1r62G9cBKa/KEW/SPwhZ/Pebw0mUvHy40DFCqA=";
  };

  cargoHash = "sha256-zHvfZAsEoCtdxtFP7yqrC9t49UIMji2qTm+I1bhu63A=";
  cargoHash = "sha256-Hp+Fx1b0bQptNJKQeThZ3W7lSGdo6YsVAHAu69/YTX4=";

  nativeBuildInputs = [
    installShellFiles
@@ -36,7 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: {

  buildInputs = [ libgit2 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib ];

  buildFeatures = lib.optionals withTrash [ "trash" ] ++ lib.optionals withClipboard [ "clipboard" ];
  buildFeatures = lib.optionals withClipboard [ "clipboard" ];

  env.RUSTONIG_SYSTEM_LIBONIG = true;