forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7e62e6
commit e7baca7
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
}) |