2015-12-04 22:57:16 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
|
|
|
|
|
2019-09-29 12:16:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "cwm";
|
2020-01-06 08:30:16 +01:00
|
|
|
version = "6.6";
|
2015-12-04 22:57:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-09-29 12:16:38 +02:00
|
|
|
owner = "leahneukirchen";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-01-06 08:30:16 +01:00
|
|
|
sha256 = "1rvb4y37vw3bpkqa6fbizgc74x3nrlkk6yf5hlm0hf8qz0c17vbl";
|
2015-12-04 22:57:16 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
|
2015-12-04 22:57:16 +01:00
|
|
|
|
|
|
|
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight and efficient window manager for X11";
|
2019-09-29 13:56:54 +02:00
|
|
|
homepage = "https://github.com/leahneukirchen/cwm";
|
|
|
|
maintainers = with maintainers; [ "0x4A6F" mkf ];
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.linux;
|
2015-12-04 22:57:16 +01:00
|
|
|
};
|
|
|
|
}
|