nixpkgs-suyu/pkgs/applications/window-managers/cwm/default.nix
Michał Krzysztof Feiler 0b0f805882
cwm: added maintainer "mkf", firstly declaring in maintainer-list
(cherry picked from commit 5de195fc681a6d663769c35091ba21962180583d)
(cherry picked from commit 0838eeb0edf0f2e842c3a006de32b27c1bc3dca9)
2019-09-29 17:35:55 +02:00

27 lines
768 B
Nix

{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
stdenv.mkDerivation rec {
pname = "cwm";
version = "6.3";
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = pname;
rev = "v${version}";
sha256 = "1m08gd6nscwfx6040zbg2zl89m4g73im68iflzcihd6pdc8rzzs4";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = with stdenv.lib; {
description = "A lightweight and efficient window manager for X11";
homepage = "https://github.com/leahneukirchen/cwm";
maintainers = with maintainers; [ "0x4A6F" mkf ];
license = licenses.isc;
platforms = platforms.linux;
};
}