diff options
author | uniquepointer <uniquepointer@mailbox.org> | 2021-10-25 16:46:23 -0500 |
---|---|---|
committer | uniquepointer <uniquepointer@mailbox.org> | 2021-10-25 18:04:41 -0500 |
commit | 14c8bf87430d4203b68be38e8073624e8d26fbab (patch) | |
tree | 4183682907f9d8cff6a30bb5330738e9d139fbed /pkgs/applications/editors | |
parent | fc25fa882eda1666b96166002e8380d9139e42fb (diff) |
Maintainers: Add uniquepointer
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/your-editor/default.nix | 23 |
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 d9025c13b0952..142795fc49a4f 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"; }; } |