1 { lib, stdenv, fetchbzr, cmake, pkg-config, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
3 stdenv.mkDerivation rec {
4 pname = "jwm-settings-manager";
5 version = "2019-01-27";
10 sha256 = "1yqc1ac2pbkc88z7p1qags1jygdlr5y1rhc5mx6gapcf54bk0lmi";
24 which # needed at runtime to locate optional programs
25 glib.bin # provides gsettings
26 gnome2.GConf # provides gconftool-2
30 substituteInPlace CMakeLists.txt \
31 --replace 'CMAKE_INSTALL_PREFIX "/usr"' "CMAKE_INSTALL_PREFIX $out"
32 substituteInPlace data/CMakeLists.txt \
33 --replace 'DESTINATION usr/share' "DESTINATION share"
37 substituteInPlace cmake_install.cmake \
38 --replace "/var/empty" "/usr"
42 description = "Full configuration manager for JWM";
43 homepage = "https://joewing.net/projects/jwm";
44 license = licenses.gpl3;
45 platforms = platforms.linux;
46 maintainers = [ maintainers.romildo ];