depot/third_party/nixpkgs/pkgs/applications/window-managers/cwm/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

27 lines
765 B
Nix

{ lib, stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
stdenv.mkDerivation rec {
pname = "cwm";
version = "6.7";
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = pname;
rev = "v${version}";
sha256 = "0f9xmki2hx10k8iisfzc7nm1l31zkf1r06pdgn06ar9w9nizrld9";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = with 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;
};
}