about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArijit Basu2023-04-23 21:57:50 +0530
committerArijit Basu2023-04-24 22:18:27 +0530
commit1c74fa18ce7fd8b644841bf661742ec6fad2562c (patch)
treed69a61752234899fa0d995c7f1e9d7ed6afce458
parent87378fb42b6816e757d81aab3cd040aab8bf9a73 (diff)
xplr: 0.20.2 -> 0.21.1
https://github.com/sayanarijit/xplr/releases/tag/v0.21.1

Originally authored by @mimame (in #223450).

- Disable one specific failing test
- Move from pkgs/applications/misc/ to pkgs/applications/file-managers/
- Add @mimame as maintainer.
-rw-r--r--pkgs/applications/file-managers/xplr/default.nix (renamed from pkgs/applications/misc/xplr/default.nix)13
-rw-r--r--pkgs/top-level/all-packages.nix3
2 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/applications/misc/xplr/default.nix b/pkgs/applications/file-managers/xplr/default.nix
index 0b1aa7eb9157..6fd3565bfafa 100644
--- a/pkgs/applications/misc/xplr/default.nix
+++ b/pkgs/applications/file-managers/xplr/default.nix
@@ -2,23 +2,28 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "xplr";
-  version = "0.20.2";
+  version = "0.21.1";
 
   src = fetchFromGitHub {
     owner = "sayanarijit";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-iPcxDNtwWnvFljZw052aw/ekCahyFBNt/zbUAdaWJA8=";
+    sha256 = "sha256-WUv0F7etmJFNRnHXkQ5G3p/5BWL30kfSYnxXYpAdo+I=";
   };
 
   buildInputs = lib.optional stdenv.isDarwin libiconv;
 
-  cargoSha256 = "sha256-Sn7ZcNdmMDQJHn99iTJX9c3uVhaGpRvEgdoJFmIUgeU=";
+  cargoSha256 = "sha256-0JJpGSOwayPB3cn7OpBjsOiK4WQNbil3gYrfkqG2cS8=";
+
+  checkFlags = [
+    # failure: path::tests::test_relative_to_parent
+    "--skip=path::tests::test_relative_to_parent"
+  ];
 
   meta = with lib; {
     description = "A hackable, minimal, fast TUI file explorer";
     homepage = "https://xplr.dev";
     license = licenses.mit;
-    maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g ];
+    maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g mimame ];
   };
 }
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e9355cb9c78c..e13d735a055a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2523,6 +2523,8 @@ with pkgs;
     fox = fox_1_6;
   };
 
+  xplr = callPackage ../applications/file-managers/xplr { };
+
   ytree = callPackage ../applications/file-managers/ytree { };
 
   ### APPLICATIONS/TERMINAL-EMULATORS
@@ -13520,7 +13522,6 @@ with pkgs;
 
   xe = callPackage ../tools/system/xe { };
 
-  xplr = callPackage ../applications/misc/xplr { };
 
   xray = callPackage ../tools/networking/xray { };