2015-12-20 02:37:14 +00:00
|
|
|
{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, pkgconfig, boost }:
|
2014-01-04 00:28:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-16 23:23:33 +00:00
|
|
|
name = "twmn-git-2014-09-23";
|
2014-01-04 00:28:24 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/sboli/twmn.git";
|
2015-02-16 23:23:33 +00:00
|
|
|
rev = "9492a47e25547e602dd57efd807033677c90b150";
|
|
|
|
sha256 = "9c91e9d3d6d7f9d90d34da6f1a4b9f3dee65605c1e43729417d6921c54dded6b";
|
2014-01-04 00:28:24 +00:00
|
|
|
};
|
|
|
|
|
2015-12-20 02:37:14 +00:00
|
|
|
buildInputs = [ qtbase qtx11extras pkgconfig boost ];
|
2014-01-04 00:28:24 +00:00
|
|
|
|
2015-02-16 23:23:33 +00:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i s/-Werror// twmnd/twmnd.pro
|
|
|
|
qmake
|
|
|
|
'';
|
2014-01-04 00:28:24 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp bin/* "$out/bin"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-02-22 16:59:22 +00:00
|
|
|
description = "A notification system for tiling window managers";
|
2014-01-04 00:28:24 +00:00
|
|
|
homepage = "https://github.com/sboli/twmn";
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2014-02-22 16:59:22 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.matejc ];
|
2014-01-04 00:28:24 +00:00
|
|
|
};
|
|
|
|
}
|