nixpkgs/pkgs/applications/window-managers/2bwm/default.nix
R. RyanTM e9b8203a38 _2bwm: 0.2 -> 0.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/2bwm/versions
2019-09-25 22:25:26 -07:00

31 lines
829 B
Nix

{ stdenv, fetchFromGitHub, patches
, libxcb, xcbutilkeysyms, xcbutilwm
, libX11, xcbutil, xcbutilxrm }:
stdenv.mkDerivation rec {
version = "0.3";
pname = "2bwm";
src = fetchFromGitHub {
owner = "venam";
repo = "2bwm";
rev = "v${version}";
sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
};
# Allow users set their own list of patches
inherit patches;
buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
installPhase = "make install DESTDIR=$out PREFIX=\"\"";
meta = with stdenv.lib; {
homepage = https://github.com/venam/2bwm;
description = "A fast floating WM written over the XCB library and derived from mcwm";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
platforms = platforms.unix;
};
}