mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config
|
|
, 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 = [ pkg-config 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 lib; {
|
|
description = "Tiling tabbed window manager";
|
|
homepage = "https://notionwm.net";
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [ jfb AndersonTorres raboof ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|