diff options
Diffstat (limited to 'pkgs/by-name/yu/yudit/package.nix')
-rw-r--r-- | pkgs/by-name/yu/yudit/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/yu/yudit/package.nix b/pkgs/by-name/yu/yudit/package.nix new file mode 100644 index 0000000000000..e7131c8c54d09 --- /dev/null +++ b/pkgs/by-name/yu/yudit/package.nix @@ -0,0 +1,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; + }; +}) |