1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/applications/window-managers/cwm/default.nix

28 lines
768 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";
version = "6.3";
2015-12-04 21:57:16 +00:00
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = pname;
rev = "v${version}";
sha256 = "1m08gd6nscwfx6040zbg2zl89m4g73im68iflzcihd6pdc8rzzs4";
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";
maintainers = with maintainers; [ "0x4A6F" mkf ];
license = licenses.isc;
platforms = platforms.linux;
2015-12-04 21:57:16 +00:00
};
}