about summary refs log tree commit diff
path: root/pkgs/applications/file-managers
diff options
context:
space:
mode:
authorArijit Basu <sayanarijit@gmail.com>2023-04-23 21:57:50 +0530
committerArijit Basu <sayanarijit@gmail.com>2023-04-24 22:18:27 +0530
commit1c74fa18ce7fd8b644841bf661742ec6fad2562c (patch)
treed69a61752234899fa0d995c7f1e9d7ed6afce458 /pkgs/applications/file-managers
parent87378fb42b6816e757d81aab3cd040aab8bf9a73 (diff)
downloadnixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar.gz
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar.bz2
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar.lz
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar.xz
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.tar.zst
nixlib-1c74fa18ce7fd8b644841bf661742ec6fad2562c.zip
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.
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r--pkgs/applications/file-managers/xplr/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/xplr/default.nix b/pkgs/applications/file-managers/xplr/default.nix
new file mode 100644
index 000000000000..6fd3565bfafa
--- /dev/null
+++ b/pkgs/applications/file-managers/xplr/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "xplr";
+  version = "0.21.1";
+
+  src = fetchFromGitHub {
+    owner = "sayanarijit";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-WUv0F7etmJFNRnHXkQ5G3p/5BWL30kfSYnxXYpAdo+I=";
+  };
+
+  buildInputs = lib.optional stdenv.isDarwin libiconv;
+
+  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 mimame ];
+  };
+}