nixpkgs/pkgs/applications/window-managers/bspwm/default.nix

31 lines
836 B
Nix
Raw Normal View History

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