diff --git a/pkgs/applications/misc/xplr/default.nix b/pkgs/applications/misc/xplr/default.nix index 9ac39d722b56..856f48437f51 100644 --- a/pkgs/applications/misc/xplr/default.nix +++ b/pkgs/applications/misc/xplr/default.nix @@ -1,17 +1,19 @@ -{ lib, stdenv, rustPlatform, fetchCrate, libiconv }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: rustPlatform.buildRustPackage rec { pname = "xplr"; - version = "0.14.7"; + version = "0.15.2"; - src = fetchCrate { - inherit pname version; - sha256 = "sha256-rGU9Jf+MHDs3pnuddqxLaWc8YqL+Ka7Rex+fTuU62sM="; + src = fetchFromGitHub { + owner = "sayanarijit"; + repo = pname; + rev = "v${version}"; + sha256 = "1znb6n9xbzbi9sif76xlwnqrzkh50g9yz6k36m0hm5iacd1fapab"; }; buildInputs = lib.optional stdenv.isDarwin libiconv; - cargoSha256 = "sha256-GwepsY7PcWjKZpJ7H4D9vtXwd2XGFgG1c+QvinMAG4Q="; + cargoSha256 = "0gbhkpha02ymr861av0fmyz6h007ajwkqcajq8hrnfzjk8rii47m"; meta = with lib; { description = "A hackable, minimal, fast TUI file explorer";