summary refs log blame commit diff
path: root/pkgs/applications/misc/xplr/default.nix
blob: f32aa8456e2a9123abf45b89f622b99504676d72 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         

                                   
                 
                    


                          
                 
                        
                                                                    

    

                                                      
                                                                       







                                                                
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:

rustPlatform.buildRustPackage rec {
  pname = "xplr";
  version = "0.8.4";

  src = fetchFromGitHub {
    owner = "sayanarijit";
    repo = pname;
    rev = "v${version}";
    sha256 = "00kmmdwwf9cll25bkszgin2021ggf9b28jlcpicin5kgw4iwlhkj";
  };

  buildInputs = lib.optional stdenv.isDarwin libiconv;

  cargoSha256 = "1j43vwb885h355wdmjijz1qpkqn1dmb93hwi6vc035vkbbxs1g4r";

  meta = with lib; {
    description = "A hackable, minimal, fast TUI file explorer";
    homepage = "https://github.com/sayanarijit/xplr";
    license = licenses.mit;
    maintainers = with maintainers; [ sayanarijit suryasr007 ];
  };
}