about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-02-07 13:21:34 +0800
committerfortuneteller2k <lythe1107@gmail.com>2021-02-07 13:21:34 +0800
commit78da91d97c60d27c528693c5d95761b6a617cd02 (patch)
treed2a04afa296be8f78da08e25bd4df67a2e0f5d3a /pkgs/applications/editors
parentafbeed62bb22ef8abec72c7ae1db5d6593f62357 (diff)
ox: init at 0.2.7
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/ox/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/editors/ox/default.nix b/pkgs/applications/editors/ox/default.nix
new file mode 100644
index 0000000000000..aa3f22a262618
--- /dev/null
+++ b/pkgs/applications/editors/ox/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "ox";
+  version = "0.2.7";
+
+  src = fetchFromGitHub {
+    owner = "curlpipe";
+    repo = pname;
+    rev = version;
+    sha256 = "18iffnmvax6mbnhypf7yma98y5q2zlsyp9q18f92fdwz426r33p0";
+  };
+
+  cargoSha256 = "0v0a1dl9rq5qyy9xwnb59w62qr9db3y3zlmnp60wafvj70zi9zxs";
+
+  meta = with lib; {
+    description = "An independent Rust text editor that runs in your terminal";
+    homepage = "https://github.com/curlpipe/ox";
+    changelog = "https://github.com/curlpipe/ox/releases/tag/${version}";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ fortuneteller2k ];
+  };
+}