2017-06-02 17:40:19 +02:00
|
|
|
{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmake, pkgconfig, boost }:
|
2014-01-04 01:28:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-17 00:23:33 +01:00
|
|
|
name = "twmn-git-2014-09-23";
|
2014-01-04 01:28:24 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/sboli/twmn.git";
|
2015-02-17 00:23:33 +01:00
|
|
|
rev = "9492a47e25547e602dd57efd807033677c90b150";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1a68gka9gyxyzhc9rn8df59rzcdwkjw90cxp1kk0rdfp6svhxhsa";
|
2014-01-04 01:28:24 +01:00
|
|
|
};
|
|
|
|
|
2017-06-02 17:40:19 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
|
|
|
buildInputs = [ qtbase qtx11extras boost ];
|
2014-01-04 01:28:24 +01:00
|
|
|
|
2016-04-16 21:59:18 +02:00
|
|
|
postPatch = ''
|
2015-02-17 00:23:33 +01:00
|
|
|
sed -i s/-Werror// twmnd/twmnd.pro
|
|
|
|
'';
|
2014-01-04 01:28:24 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2016-08-29 20:33:10 +02:00
|
|
|
runHook preInstall
|
|
|
|
|
2014-01-04 01:28:24 +01:00
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp bin/* "$out/bin"
|
2016-08-29 20:33:10 +02:00
|
|
|
|
|
|
|
runHook postInstall
|
2014-01-04 01:28:24 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-02-22 17:59:22 +01:00
|
|
|
description = "A notification system for tiling window managers";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/sboli/twmn;
|
2014-01-04 01:28:24 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2014-02-22 17:59:22 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.matejc ];
|
2014-01-04 01:28:24 +01:00
|
|
|
};
|
|
|
|
}
|