Merge pull request #48873 from romildo/new.jwm-settings-manager

jwm-settings-manager: init at 2018-10-19
This commit is contained in:
Michael Raskin 2018-10-30 13:24:46 +00:00 committed by GitHub
commit 1d8794e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
stdenv.mkDerivation rec {
name = "jwm-settings-manager-${version}";
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"
'';
meta = with stdenv.lib; {
description = "A full configuration manager for JWM";
homepage = https://joewing.net/projects/jwm;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}

View File

@ -17475,6 +17475,8 @@ with pkgs;
jwm = callPackage ../applications/window-managers/jwm { }; jwm = callPackage ../applications/window-managers/jwm { };
jwm-settings-manager = callPackage ../applications/window-managers/jwm/jwm-settings-manager.nix { };
k3d = callPackage ../applications/graphics/k3d { k3d = callPackage ../applications/graphics/k3d {
inherit (pkgs.gnome2) gtkglext; inherit (pkgs.gnome2) gtkglext;
stdenv = overrideCC stdenv gcc6; stdenv = overrideCC stdenv gcc6;