about summary refs log tree commit diff
path: root/pkgs/applications/editors/your-editor
diff options
context:
space:
mode:
authoruniquepointer <uniquepointer@mailbox.org>2021-10-25 16:46:23 -0500
committeruniquepointer <uniquepointer@mailbox.org>2021-10-25 18:04:41 -0500
commit14c8bf87430d4203b68be38e8073624e8d26fbab (patch)
tree4183682907f9d8cff6a30bb5330738e9d139fbed /pkgs/applications/editors/your-editor
parentfc25fa882eda1666b96166002e8380d9139e42fb (diff)
downloadnixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar.gz
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar.bz2
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar.lz
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar.xz
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.tar.zst
nixlib-14c8bf87430d4203b68be38e8073624e8d26fbab.zip
Maintainers: Add uniquepointer
Diffstat (limited to 'pkgs/applications/editors/your-editor')
-rw-r--r--pkgs/applications/editors/your-editor/default.nix23
1 files changed, 8 insertions, 15 deletions
diff --git a/pkgs/applications/editors/your-editor/default.nix b/pkgs/applications/editors/your-editor/default.nix
index d9025c13b095..142795fc49a4 100644
--- a/pkgs/applications/editors/your-editor/default.nix
+++ b/pkgs/applications/editors/your-editor/default.nix
@@ -1,29 +1,21 @@
-{ pkgs, stdenv, fetchFromGitHub, lib, ... }:
+{ lib, stdenv, fetchFromGitHub }:
 
-pkgs.stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
   pname = "your-editor";
   version = "1203";
 
-  rev = "608418f2037dc4ef5647e69fcef45302c50f138c";
   src = fetchFromGitHub {
     owner = "kammerdienerb";
     repo = "yed";
-    rev = "608418f";
+    rev = "608418f2037dc4ef5647e69fcef45302c50f138c";
     sha256 = "KqK2lcDTn91aCFJIDg+h+QsTrl7745So5aiKCxPkeh4=";
   };
 
-  buildInputs = [
-  ];
-
-  configurePhase = ''
-    '';
-
-  buildPhase = ''
-    '';
-
   installPhase = ''
-     patchShebangs install.sh
+    runHook preInstall
+    patchShebangs install.sh
     ./install.sh -p $out
+    runHook postInstall
   '';
 
   meta = with lib; {
@@ -31,6 +23,7 @@ pkgs.stdenv.mkDerivation rec {
     homepage = "https://your-editor.org/";
     license = with licenses; [ mit ];
     platforms = platforms.linux;
-    maintainers = [ uniquepointer ];
+    maintainers = with maintainers; [ uniquepointer ];
+    mainProgram = "yed";
   };
 }