2024-07-14 12:54:16 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchgit,
|
|
|
|
autoreconfHook,
|
|
|
|
pkg-config,
|
|
|
|
wrapGAppsHook3,
|
|
|
|
gtk3,
|
|
|
|
imlib2,
|
|
|
|
libSM,
|
|
|
|
libstartup_notification,
|
|
|
|
libxml2,
|
|
|
|
openbox,
|
2022-08-25 08:49:21 +01:00
|
|
|
}:
|
2022-02-02 17:08:39 +00:00
|
|
|
|
2024-07-14 12:53:53 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-02-02 17:08:39 +00:00
|
|
|
pname = "obconf";
|
|
|
|
version = "unstable-2015-02-13";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.openbox.org/dana/obconf";
|
|
|
|
rev = "63ec47c5e295ad4f09d1df6d92afb7e10c3fec39";
|
2024-07-14 12:53:53 +01:00
|
|
|
hash = "sha256-qwm66VA/ueRMFtSUcrmuObNkz+KYgWRnmR7TnQwpxiE=";
|
2022-02-02 17:08:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
2024-04-26 21:24:03 +01:00
|
|
|
wrapGAppsHook3
|
2022-02-02 17:08:39 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
imlib2
|
|
|
|
libSM
|
|
|
|
libstartup_notification
|
|
|
|
libxml2
|
|
|
|
openbox
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2024-07-14 12:53:53 +01:00
|
|
|
substituteInPlace configure.ac --replace 2.0.4 ${finalAttrs.version}
|
2022-02-02 17:08:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GUI configuration tool for openbox";
|
|
|
|
homepage = "http://openbox.org/wiki/ObConf";
|
2022-11-24 22:27:53 +00:00
|
|
|
changelog = "http://openbox.org/wiki/ObConf:Changelog";
|
2022-02-02 17:08:39 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.sfrijters ];
|
|
|
|
platforms = lib.platforms.linux;
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "obconf";
|
2022-02-02 17:08:39 +00:00
|
|
|
};
|
2024-07-14 12:53:53 +01:00
|
|
|
})
|