From 14c8bf87430d4203b68be38e8073624e8d26fbab Mon Sep 17 00:00:00 2001 From: uniquepointer Date: Mon, 25 Oct 2021 16:46:23 -0500 Subject: [PATCH] Maintainers: Add uniquepointer --- maintainers/maintainer-list.nix | 7 ++++++ .../editors/your-editor/default.nix | 23 +++++++------------ pkgs/top-level/all-packages.nix | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 57224c438daf..2d6a99ebb426 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11706,6 +11706,13 @@ fingerprint = "EE59 5E29 BB5B F2B3 5ED2 3F1C D276 FF74 6700 7335"; }]; }; + uniquepointer = { + email = "uniquepointer@mailbox.org"; + matrix = "@uniquepointer:matrix.org"; + github = "uniquepointer"; + githubId = 71751817; + name = "uniquepointer"; + }; unode = { email = "alves.rjc@gmail.com"; matrix = "@renato_alves:matrix.org"; 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"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a4fae13e7c25..ff254d324bc7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29220,6 +29220,8 @@ with pkgs; yoshimi = callPackage ../applications/audio/yoshimi { }; + your-editor = callPackage ../applications/editors/your-editor { }; + youtube-dl = with python3Packages; toPythonApplication youtube-dl; youtube-dl-light = with python3Packages; toPythonApplication youtube-dl-light; @@ -33118,8 +33120,6 @@ with pkgs; yapesdl = callPackage ../misc/emulators/yapesdl { }; - your-editor = callPackage ../applications/editors/your-editor { }; - x16-emulator = callPackage ../misc/emulators/commanderx16/emulator.nix { }; x16-rom = callPackage ../misc/emulators/commanderx16/rom.nix { }; x16-run = (callPackage ../misc/emulators/commanderx16/run.nix { }) {