2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
|
2018-10-23 13:03:13 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jwm-settings-manager";
|
2018-10-23 13:03:13 +01:00
|
|
|
version = "2018-10-19";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Israel-D";
|
|
|
|
repo = "jwm-settings-manager";
|
|
|
|
rev = "cb32a70563cf1f3927339093481542b85ec3c8c8";
|
|
|
|
sha256 = "0d5bqf74p8zg8azns44g46q973blhmp715k8kcd73x88g7sfir8s";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libXpm
|
|
|
|
libGL
|
|
|
|
fltk
|
|
|
|
hicolor-icon-theme
|
|
|
|
which # needed at runtime to locate optional programs
|
|
|
|
glib.bin # provides gsettings
|
|
|
|
gnome2.GConf # provides gconftool-2
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace 'CMAKE_INSTALL_PREFIX "/usr"' "CMAKE_INSTALL_PREFIX $out"
|
|
|
|
substituteInPlace data/CMakeLists.txt \
|
|
|
|
--replace 'DESTINATION usr/share' "DESTINATION share"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-23 13:03:13 +01:00
|
|
|
description = "A full configuration manager for JWM";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://joewing.net/projects/jwm";
|
2018-10-23 13:03:13 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|