1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/applications/window-managers/cwm/default.nix

28 lines
767 B
Nix
Raw Normal View History

2015-12-04 21:57:16 +00:00
{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
stdenv.mkDerivation rec {
pname = "cwm";
2020-05-25 11:20:57 +01:00
version = "6.7";
2015-12-04 21:57:16 +00:00
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = pname;
rev = "v${version}";
2020-05-25 11:20:57 +01:00
sha256 = "0f9xmki2hx10k8iisfzc7nm1l31zkf1r06pdgn06ar9w9nizrld9";
2015-12-04 21:57:16 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
2015-12-04 21:57:16 +00:00
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";
2020-07-29 11:49:07 +01:00
maintainers = with maintainers; [ _0x4A6F mkf ];
license = licenses.isc;
platforms = platforms.linux;
2015-12-04 21:57:16 +00:00
};
}