about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-10-26 00:01:40 +0000
committerGitHub <noreply@github.com>2021-10-26 00:01:40 +0000
commit0753497619c480f218f4a9049c9253295abbb319 (patch)
treeaf67a98eef53708dd106684fbc7f5013e83c0ac2 /pkgs/applications/editors
parenta47e0a655462634e012a282c3b1c7054b6042e23 (diff)
parentf220223a16f3e07e95879ba518cee3bf0acf3785 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/your-editor/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/editors/your-editor/default.nix b/pkgs/applications/editors/your-editor/default.nix
new file mode 100644
index 0000000000000..a191943c3fd6e
--- /dev/null
+++ b/pkgs/applications/editors/your-editor/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "your-editor";
+  version = "1203";
+
+  src = fetchFromGitHub {
+    owner = "kammerdienerb";
+    repo = "yed";
+    rev = "608418f2037dc4ef5647e69fcef45302c50f138c";
+    sha256 = "KqK2lcDTn91aCFJIDg+h+QsTrl7745So5aiKCxPkeh4=";
+  };
+
+  installPhase = ''
+    runHook preInstall
+    patchShebangs install.sh
+    ./install.sh -p $out
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "Your-editor (yed) is a small and simple terminal editor core that is meant to be extended through a powerful plugin architecture";
+    homepage = "https://your-editor.org/";
+    license = with licenses; [ mit ];
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ uniquepointer ];
+    mainProgram = "yed";
+  };
+}