mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, pkgconfig, 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";
|
|
version = "1685";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joewing";
|
|
repo = "jwm";
|
|
rev = "s${version}";
|
|
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];
|
|
|
|
buildInputs = [ libX11 libXext libXinerama libXpm libXft xorg.libXrender
|
|
libXau libXdmcp libXmu libpng libjpeg expat xorgproto
|
|
librsvg freetype fontconfig ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
meta = {
|
|
homepage = http://joewing.net/projects/jwm/;
|
|
description = "Joe's Window Manager is a light-weight X11 window manager";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
};
|
|
}
|