forked from mirrors/nixpkgs
twmn: new package
This commit is contained in:
parent
39fbd8f4fb
commit
72fb60117e
28
pkgs/applications/misc/twmn/default.nix
Normal file
28
pkgs/applications/misc/twmn/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue