texstudio: 4.8.4 -> 4.8.5 (#365076)
[NixPkgs.git] / pkgs / applications / editors / your-editor / default.nix
blob272729bcb47fedbaad17fe180fe10c2018265642
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "your-editor";
9   version = "1601";
11   src = fetchFromGitHub {
12     owner = "your-editor";
13     repo = "yed";
14     rev = version;
15     sha256 = "sha256-pa9ibXyuWq7jRYsn3bGdqvLWbwQO2VYsP6Bk+BayQ8o=";
16   };
18   installPhase = ''
19     runHook preInstall
20     patchShebangs install.sh
21     ./install.sh -p $out
22     runHook postInstall
23   '';
25   meta = with lib; {
26     description = "Your-editor (yed) is a small and simple terminal editor core that is meant to be extended through a powerful plugin architecture";
27     homepage = "https://your-editor.org/";
28     changelog = "https://github.com/your-editor/yed/blob/${version}/CHANGELOG.md";
29     license = with licenses; [ mit ];
30     platforms = platforms.unix;
31     maintainers = with maintainers; [ uniquepointer ];
32     mainProgram = "yed";
33   };