Unverified Commit 05f9e0a1 authored by Arijit Basu's avatar Arijit Basu Committed by GitHub
Browse files

xplr: 0.21.9 -> 1.0.0 (#405125)

parent 933c03dd
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -4,20 +4,19 @@
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
  pname = "xplr";
  version = "0.21.9";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "sayanarijit";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-0c2QJUEQwKEzzDBDP5XdX7xe1rivazsoZtepB4Dxp/c=";
    hash = "sha256-QeR7KXwRGfAU31ueI6v26pKnoQdj2C7bXlcMP4qKvZg=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-D8BYJtf6joAXyqLDdAeP4GGAA9W5dvA16ia4/ZeZWaE=";
  cargoHash = "sha256-UkyRl2eY520JPxtcOl7hvkY3MCH2bi2jL9zCJEdkQmU=";

  # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin
  env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) {
@@ -26,7 +25,7 @@ rustPlatform.buildRustPackage rec {

  # error: linker `aarch64-linux-gnu-gcc` not found
  postPatch = ''
    rm .cargo/config
    rm .cargo/config.toml
  '';

  postInstall = ''