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

31 lines
836 B
Nix
Raw Normal View History

2014-08-10 01:31:05 +04:00
{ stdenv, fetchurl, libxcb, libXinerama, sxhkd, xcbutil, xcbutilkeysyms, xcbutilwm }:
stdenv.mkDerivation rec {
name = "bspwm-${version}";
version = "0.9.1";
2014-08-10 01:31:05 +04:00
src = fetchurl {
url = "https://github.com/baskerville/bspwm/archive/${version}.tar.gz";
sha256 = "11dvfcvr8bc116yb3pvl0k1h2gfm9rv652jbxd1c5pmc0yimifq2";
2014-08-10 01:31:05 +04:00
};
buildInputs = [ libxcb libXinerama xcbutil xcbutilkeysyms xcbutilwm ];
buildPhase = ''
make PREFIX=$out
'';
2014-08-10 01:31:05 +04: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 18:28:36 +03:00
maintainers = [ stdenv.lib.maintainers.meisternu stdenv.lib.maintainers.epitrochoid ];
license = stdenv.lib.licenses.bsd2;
2014-08-10 01:31:05 +04:00
platforms = stdenv.lib.platforms.linux;
};
}