nixpkgs/pkgs/applications/window-managers/jwm/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

51 lines
1.1 KiB
Nix

{ 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";
version = "1685";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "s${version}";
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
];
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 = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}