Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
854 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ 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; };}