diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9793aafd94f5..3e9708c8a4a6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -23382,6 +23382,11 @@ githubId = 77415970; name = "Redhawk"; }; + redhood = { + name = "Alice Liddell"; + github = "petalmaya"; + githubId = 258934709; + }; redianthus = { github = "redianthus"; githubId = 16472988; diff --git a/pkgs/by-name/se/seamonkey/package.nix b/pkgs/by-name/se/seamonkey/package.nix new file mode 100644 index 000000000000..114a96b9cce2 --- /dev/null +++ b/pkgs/by-name/se/seamonkey/package.nix @@ -0,0 +1,89 @@ +{ + lib, + stdenv, + fetchurl, + gtk3, + gtk2, + gdk-pixbuf, + dbus-glib, + libx11, + libxcomposite, + libxcursor, + libxdamage, + libxext, + libxi, + libxrender, + libxt, + libpulseaudio, + libGL, + pango, + freetype, + fontconfig, + autoPatchelfHook, + makeWrapper, + wrapGAppsHook3, +}: + +stdenv.mkDerivation rec { + pname = "seamonkey"; + version = "2.53.23"; + + strictDeps = true; + __structuredAttrs = true; + + # Upstream requires highly deprecated build tools to compile from source + src = fetchurl { + url = "https://archive.seamonkey-project.org/releases/${version}/linux-x86_64/en-US/seamonkey-${version}.en-US.linux-x86_64.tar.bz2"; + sha256 = "1si5vqprq7hgm366db76yziqxcqdvxj675kgxb6lp2ppprl8rlkw"; + }; + + nativeBuildInputs = [ + wrapGAppsHook3 + autoPatchelfHook + makeWrapper + ]; + + buildInputs = [ + gtk2 + gtk3 + gdk-pixbuf + dbus-glib + libpulseaudio + libGL + pango + freetype + fontconfig + libxi + libxcursor + libxdamage + libxrender + libxcomposite + libxext + libx11 + libxt + ]; + + installPhase = '' + mkdir -p $out/lib/seamonkey $out/bin + cp -r * $out/lib/seamonkey/ + + ln -s $out/lib/seamonkey/seamonkey $out/bin/seamonkey + + wrapProgram $out/bin/seamonkey \ + --prefix LD_LIBRARY_PATH : "${ + lib.makeLibraryPath [ + libpulseaudio + libGL + ] + }" + ''; + + meta = with lib; { + description = "The SeaMonkey project is a community effort to deliver production-quality releases of code names previously known as 'Mozilla Application Suite'"; + homepage = "https://www.seamonkey-project.org/"; + license = licenses.mpl20; + platforms = [ "x86_64-linux" ]; + maintainers = [ lib.maintainers.redhood ]; + mainProgram = "seamonkey"; + }; +}