xplr: 0.21.9 -> 1.0.0 (#405125)

This commit is contained in:
Arijit Basu
2025-05-13 17:59:22 +02:00
committed by GitHub
parent 933c03dd1f
commit 05f9e0a1a3
+4 -5
View File
@@ -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 = ''