nixpkgs/pkgs/applications/editors/your-editor/default.nix
uniquepointer 8f6a049920
your-editor: 1203 -> 1206 (#145241)
Co-authored-by: figsoda <figsoda@pm.me>
2021-11-10 11:40:54 +01:00

30 lines
801 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "your-editor";
version = "1206";
src = fetchFromGitHub {
owner = "kammerdienerb";
repo = "yed";
rev = "6cdd99fe1359899b26d8967bd376fd5caa5451eb";
sha256 = "0XECSolW/xPXd1v3sv9HbJMWuHGnwCOwmHoPNCUsE+w=";
};
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";
};
}