about summary refs log tree commit diff
path: root/pkgs/applications/file-managers
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-06-26 22:26:46 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-06-26 23:58:10 -0300
commita0b1b66a067d0a7709a8bf683d1fba722d991be6 (patch)
treed48f9209fac0bd597d95e4c53cc876d78a8d0f6f /pkgs/applications/file-managers
parente5d16d10911b70d39ac6268f2b86477b6d35c4d1 (diff)
joshuto: move to applications/file-managers
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r--pkgs/applications/file-managers/joshuto/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/joshuto/default.nix b/pkgs/applications/file-managers/joshuto/default.nix
new file mode 100644
index 0000000000000..024334aca5061
--- /dev/null
+++ b/pkgs/applications/file-managers/joshuto/default.nix
@@ -0,0 +1,24 @@
+{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "joshuto";
+  version = "0.9.3";
+
+  src = fetchFromGitHub {
+    owner = "kamiyaa";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256-RbA7MM/3u2LJG6QD5f15E/XoLwHMkPasx0ht4PqV/jc=";
+  };
+
+  cargoSha256 = "sha256-vhTfAoAwDJ9BjhgUEkV2H+KAetJR1YqwaZ7suF6yMXA=";
+
+  buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration Foundation ];
+
+  meta = with lib; {
+    description = "Ranger-like terminal file manager written in Rust";
+    homepage = "https://github.com/kamiyaa/joshuto";
+    license = licenses.lgpl3Only;
+    maintainers = with maintainers; [ figsoda ];
+  };
+}