2021-10-25 23:46:23 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2021-10-25 23:31:07 +02:00
|
|
|
|
2021-10-25 23:46:23 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2021-10-25 23:31:07 +02:00
|
|
|
pname = "your-editor";
|
2021-11-10 11:40:54 +01:00
|
|
|
version = "1206";
|
2021-10-25 23:31:07 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kammerdienerb";
|
|
|
|
repo = "yed";
|
2021-11-10 11:40:54 +01:00
|
|
|
rev = "6cdd99fe1359899b26d8967bd376fd5caa5451eb";
|
|
|
|
sha256 = "0XECSolW/xPXd1v3sv9HbJMWuHGnwCOwmHoPNCUsE+w=";
|
2021-10-25 23:31:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-10-25 23:46:23 +02:00
|
|
|
runHook preInstall
|
|
|
|
patchShebangs install.sh
|
2021-10-25 23:31:07 +02:00
|
|
|
./install.sh -p $out
|
2021-10-25 23:46:23 +02:00
|
|
|
runHook postInstall
|
2021-10-25 23:31:07 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-10-26 01:28:12 +02:00
|
|
|
description = "Your-editor (yed) is a small and simple terminal editor core that is meant to be extended through a powerful plugin architecture";
|
2021-10-25 23:31:07 +02:00
|
|
|
homepage = "https://your-editor.org/";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
platforms = platforms.linux;
|
2021-10-25 23:46:23 +02:00
|
|
|
maintainers = with maintainers; [ uniquepointer ];
|
|
|
|
mainProgram = "yed";
|
2021-10-25 23:31:07 +02:00
|
|
|
};
|
|
|
|
}
|