diff options
author | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2021-03-18 21:25:50 +0100 |
---|---|---|
committer | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2021-11-22 18:40:36 +0100 |
commit | c236b3c14ef512cc96e900a2c36478e922aced59 (patch) | |
tree | 3e12297301605fc08a2bfb21b4f8c968dae67968 /pkgs/applications/editors/xedit | |
parent | 40d43349e66e87b1009cc945e42acd90892f5306 (diff) |
xedit: init at 1.2.2
Diffstat (limited to 'pkgs/applications/editors/xedit')
-rw-r--r-- | pkgs/applications/editors/xedit/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/editors/xedit/default.nix b/pkgs/applications/editors/xedit/default.nix new file mode 100644 index 0000000000000..5de0aed340493 --- /dev/null +++ b/pkgs/applications/editors/xedit/default.nix @@ -0,0 +1,45 @@ +{ lib +, stdenv +, fetchFromGitLab +, autoreconfHook +, pkg-config +, utilmacros +, libX11 +, libXaw +, libXmu +, libXt +}: + +stdenv.mkDerivation rec { + pname = "xedit"; + version = "1.2.2"; + + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "xorg/app"; + repo = "xedit"; + rev = "${pname}-${version}"; + sha256 = "0b5ic13aasv6zh20v2k7zyxsqbnsxfq5rs3w8nwzl1gklmgrjxa3"; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config utilmacros ]; + buildInputs = [ + libX11 + libXaw + libXmu + libXt + ]; + + configureFlags = [ + "--with-lispdir=$out/share/X11/xedit/lisp" + "--with-appdefaultdir=$out/share/X11/app-defaults" + ]; + + meta = with lib; { + description = "Simple graphical text editor using Athena Widgets (Xaw)"; + homepage = "https://gitlab.freedesktop.org/xorg/app/xedit"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ shamilton ]; + platforms = platforms.linux; + }; +} |