nixpkgs/pkgs/applications/window-managers/notion/default.nix
Arnout Engelen e8488ab545
notion: 4.0.1 -> 4.0.2
What's New

The highlight of this release is fixing the long-standing issue
where Firefox popups would sometimes show up in the wrong place
on multi-monitor setups (https://github.com/raboof/notion/issue/59),
thanks to great detective work by @florolf . Thanks!

* Initial implementation of _NET_FRAME_EXTENTS (https://github.com/raboof/notion/pull/303) @florolf/@raboof
* Fix potential livelock in do_timer_set (https://github.com/raboof/notion/pull/302) @dnr

Docs

* Add more docs to cfg_notion.lua (https://github.com/raboof/notion/pull/283) @raboof

Under the hood

* Trigger release drafter from github actions (https://github.com/raboof/notion/pull/304) @raboof
* Remove some colorful language (https://github.com/raboof/notion/pull/296) @raboof

https://github.com/raboof/notion/releases/tag/4.0.2
2020-12-21 15:36:39 +01:00

40 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, pkgconfig
, lua, gettext, which, groff, xmessage, xterm
, readline, fontconfig, libX11, libXext, libSM
, libXinerama, libXrandr, libXft
, xlibsWrapper, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "notion";
version = "4.0.2";
src = fetchFromGitHub {
owner = "raboof";
repo = pname;
rev = version;
sha256 = "14swd0yqci8lxn259fkd9w92bgyf4rmjwgvgyqp78wlfix6ai4mv";
};
nativeBuildInputs = [ pkgconfig makeWrapper groff ];
buildInputs = [ lua gettext which readline fontconfig libX11 libXext libSM
libXinerama libXrandr libXft xlibsWrapper ];
buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" ];
makeFlags = [ "NOTION_RELEASE=${version}" "PREFIX=\${out}" ];
postInstall = ''
wrapProgram $out/bin/notion \
--prefix PATH ":" "${xmessage}/bin:${xterm}/bin" \
'';
meta = with stdenv.lib; {
description = "Tiling tabbed window manager";
homepage = "https://notionwm.net";
license = licenses.lgpl21;
maintainers = with maintainers; [ jfb AndersonTorres raboof ];
platforms = platforms.linux;
};
}