2014-08-09 22:31:05 +01:00
|
|
|
{ stdenv, fetchurl, libxcb, libXinerama, sxhkd, xcbutil, xcbutilkeysyms, xcbutilwm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-15 16:23:08 +01:00
|
|
|
name = "bspwm-${version}";
|
2016-12-22 23:22:58 +00:00
|
|
|
version = "0.9.2";
|
2016-04-15 16:23:08 +01:00
|
|
|
|
2014-08-09 22:31:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-15 16:23:08 +01:00
|
|
|
url = "https://github.com/baskerville/bspwm/archive/${version}.tar.gz";
|
2016-12-22 23:22:58 +00:00
|
|
|
sha256 = "1w6wxwgyb14w664xafp3b2ps6zzf9yw7cfhbh9229x2hil9rss1k";
|
2014-08-09 22:31:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxcb libXinerama xcbutil xcbutilkeysyms xcbutilwm ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make PREFIX=$out
|
|
|
|
'';
|
2016-04-15 16:23:08 +01:00
|
|
|
|
2014-08-09 22:31:05 +01:00
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tiling window manager based on binary space partitioning";
|
2014-09-13 12:51:39 +01:00
|
|
|
homepage = http://github.com/baskerville/bspwm;
|
2015-08-12 16:28:36 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.meisternu stdenv.lib.maintainers.epitrochoid ];
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2014-08-09 22:31:05 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|