about summary refs log tree commit diff
path: root/pkgs/tools/misc/atuin
diff options
context:
space:
mode:
authorAndrey Kuznetsov <fear@loathing.in>2021-05-08 09:28:16 +0000
committerAndrey Kuznetsov <fear@loathing.in>2021-05-10 21:55:36 +0000
commitc8eef2ab2173e6b2546627b7fd43ee83da281762 (patch)
treeed3bf3ed7921b44d9dcf8e5459549cbee769983f /pkgs/tools/misc/atuin
parent4d555436340f4ce7e46e933a7f0958d29597284b (diff)
atuin: init at 0.7.1
Diffstat (limited to 'pkgs/tools/misc/atuin')
-rw-r--r--pkgs/tools/misc/atuin/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/atuin/default.nix b/pkgs/tools/misc/atuin/default.nix
new file mode 100644
index 0000000000000..75a5fc57410e9
--- /dev/null
+++ b/pkgs/tools/misc/atuin/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "atuin";
+  version = "0.7.1";
+
+  src = fetchFromGitHub {
+    owner = "ellie";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-jjGP8YeHnEr0f9RONwA6wZT872C0jXTvSRdt9zAu6KE=";
+  };
+
+  cargoSha256 = "0vy6q3hjp374lyg00zxim8aplh83iq3f4rrmpz5vnpwbag1fdql3";
+
+  meta = with lib; {
+    description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
+    homepage = "https://github.com/ellie/atuin";
+    license = licenses.mit;
+    maintainers = [ maintainers.onsails ];
+  };
+}