nixpkgs/pkgs/applications/window-managers/2bwm/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

31 lines
827 B
Nix

{ lib, 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 lib; {
homepage = "https://github.com/venam/2bwm";
description = "Fast floating WM written over the XCB library and derived from mcwm";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
platforms = platforms.unix;
};
}