summary refs log tree commit diff
path: root/pkgs/applications/misc/twmn/default.nix
blob: 65c2ccb5ff0bf26f4c32188f31d8af0e2f4131e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ fetchurl, stdenv, fetchgit, qt4, pkgconfig, boost, dbus }:

stdenv.mkDerivation rec {
  rev = "9f52882688ba03d7aaab2e3fd83cb05cfbf1a374";
  name = "twmn-${rev}";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/sboli/twmn.git";
    sha256 = "1jd2y0ydcpjdmjbx77lw35710sqfwbgyrnpv66mi3gwvrbyiwpf3";
  };

  buildInputs = [ qt4 pkgconfig boost ];
  propagatedBuildInputs = [ dbus ];

  configurePhase = "qmake";

  installPhase = ''
    mkdir -p "$out/bin"
    cp bin/* "$out/bin"
  '';

  meta = {
    description = "A notification system for tiling window managers";
    homepage = "https://github.com/sboli/twmn";
    platforms = with stdenv.lib.platforms; linux;
    maintainers = [ stdenv.lib.maintainers.matejc ];
  };
}