From e7baca71a74e04b3fa9a3c1ab5b63550a9d4f585 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 24 Sep 2024 14:14:52 +0300 Subject: [PATCH] yudit: init at 3.1.0 --- pkgs/by-name/yu/yudit/package.nix | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/yu/yudit/package.nix 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; + }; +})