Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
854 B
Nix
52 lines
854 B
Nix
{
|
|
lib,
|
|
mkDerivation,
|
|
fetchFromGitHub,
|
|
qtbase,
|
|
qmake,
|
|
pkg-config,
|
|
boost,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "twmn";
|
|
version = "2025_03_06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sboli";
|
|
repo = "twmn";
|
|
tag = version;
|
|
hash = "sha256-JQhONBcTJUzsKJY6YstC6HB4d/t8vf155/lN4UUv4l4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
qmake
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
boost
|
|
];
|
|
|
|
postPatch = ''
|
|
sed -i s/-Werror// twmnd/twmnd.pro
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/bin"
|
|
cp bin/* "$out/bin"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "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;
|
|
};
|
|
}
|