Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
30 lines
853 B
Nix
30 lines
853 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "your-editor";
|
|
version = "1601";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "your-editor";
|
|
repo = "yed";
|
|
rev = version;
|
|
sha256 = "sha256-pa9ibXyuWq7jRYsn3bGdqvLWbwQO2VYsP6Bk+BayQ8o=";
|
|
};
|
|
|
|
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/";
|
|
changelog = "https://github.com/your-editor/yed/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ mit ];
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ uniquepointer ];
|
|
mainProgram = "yed";
|
|
};
|
|
}
|