depot/third_party/nixpkgs/pkgs/by-name/ob/obconf/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

54 lines
1 KiB
Nix

{
lib,
stdenv,
fetchgit,
autoreconfHook,
pkg-config,
wrapGAppsHook3,
gtk3,
imlib2,
libSM,
libstartup_notification,
libxml2,
openbox,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "obconf";
version = "unstable-2015-02-13";
src = fetchgit {
url = "git://git.openbox.org/dana/obconf";
rev = "63ec47c5e295ad4f09d1df6d92afb7e10c3fec39";
hash = "sha256-qwm66VA/ueRMFtSUcrmuObNkz+KYgWRnmR7TnQwpxiE=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
imlib2
libSM
libstartup_notification
libxml2
openbox
];
postPatch = ''
substituteInPlace configure.ac --replace 2.0.4 ${finalAttrs.version}
'';
meta = {
description = "GUI configuration tool for openbox";
homepage = "http://openbox.org/wiki/ObConf";
changelog = "http://openbox.org/wiki/ObConf:Changelog";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.sfrijters ];
platforms = lib.platforms.linux;
mainProgram = "obconf";
};
})