about summary refs log tree commit diff
path: root/pkgs/applications/misc/twmn
diff options
context:
space:
mode:
authorMatej Cotman <cotman.matej@gmail.com>2014-01-04 01:28:24 +0100
committerDomen Kožar <domen@dev.si>2014-02-22 18:17:19 +0100
commit72fb60117edd01e8fda94ae57eee7b042fe2564c (patch)
tree382f8953fa5023715aab93596d8b9382ea557f76 /pkgs/applications/misc/twmn
parent39fbd8f4fbdfae759d5983a1d62abf0c4c2d9fa8 (diff)
twmn: new package
Diffstat (limited to 'pkgs/applications/misc/twmn')
-rw-r--r--pkgs/applications/misc/twmn/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/twmn/default.nix b/pkgs/applications/misc/twmn/default.nix
new file mode 100644
index 0000000000000..1c0a44da7eb6d
--- /dev/null
+++ b/pkgs/applications/misc/twmn/default.nix
@@ -0,0 +1,28 @@
+{ 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;
+  };
+}