2021-02-05 17:12:51 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qtbase, qtx11extras, qmake, pkg-config, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "twmn";
|
|
|
|
version = "unstable-2018-10-01";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sboli";
|
|
|
|
repo = "twmn";
|
|
|
|
rev = "80f48834ef1a07087505b82358308ee2374b6dfb";
|
|
|
|
sha256 = "0mpjvp800x07lp9i3hfcc5f4bqj1fj4w3dyr0zwaxc6wqmm0fdqz";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ qtbase qtx11extras boost ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i s/-Werror// twmnd/twmnd.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp bin/* "$out/bin"
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A notification system for tiling window managers";
|
|
|
|
homepage = "https://github.com/sboli/twmn";
|
|
|
|
platforms = with lib.platforms; linux;
|
|
|
|
maintainers = [ lib.maintainers.matejc ];
|
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|