about summary refs log tree commit diff
path: root/pkgs/by-name/yu/yudit/package.nix
blob: e7131c8c54d094bb1282814e601604fb8962e234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  stdenv,
  fetchurl,
  xorg,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "yudit";
  version = "3.1.0";

  src = fetchurl {
    url = "https://www.yudit.org/download/yudit-${finalAttrs.version}.tar.gz";
    hash = "sha256-oYgjTWEnNXaE9Sw9bGpLnY9avQ99tnJWa/RE73p85Vc=";
  };

  buildInputs = [
    xorg.libX11
  ];

  meta = {
    description = "Free Unicode plain-text editor for Unix-like systems";
    homepage = "https://www.yudit.org/";
    changelog = "https://www.yudit.org/download/CHANGELOG.TXT";
    mainProgram = "yudit";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ doronbehar ];
    # Might work on Darwin but currently fails, and upstream doesn't officially
    # supports it.
    platforms = lib.platforms.linux;
  };
})