nixpkgs/pkgs/applications/window-managers/jwm/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, automake, autoconf, libtool, gettext
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
stdenv.mkDerivation rec {
pname = "jwm";
2018-05-03 17:17:38 +00:00
version = "1685";
2016-10-27 09:52:23 +00:00
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "s${version}";
2018-05-03 17:17:38 +00:00
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
};
patches = [ ./0001-Fix-Gettext-Requirement.patch ];
nativeBuildInputs = [ pkg-config automake autoconf libtool gettext which ];
buildInputs = [
libX11
libXext
libXinerama
libXpm
libXft
xorg.libXrender
libXau
libXdmcp
libXmu
libpng
libjpeg
expat
xorgproto
librsvg
freetype
fontconfig
];
2016-04-12 15:18:40 +00:00
enableParallelBuilding = true;
2016-03-07 19:11:13 +00:00
preConfigure = "./autogen.sh";
meta = {
homepage = "http://joewing.net/projects/jwm/";
2016-06-02 13:11:05 +00:00
description = "Joe's Window Manager is a light-weight X11 window manager";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}