depot/third_party/nixpkgs/pkgs/tools/X11/obconf/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

52 lines
1,002 B
Nix

{ lib
, stdenv
, fetchgit
, autoreconfHook
, pkg-config
, wrapGAppsHook
, gtk3
, imlib2
, libSM
, libstartup_notification
, libxml2
, openbox
}:
stdenv.mkDerivation rec {
pname = "obconf";
version = "unstable-2015-02-13";
src = fetchgit {
url = "git://git.openbox.org/dana/obconf";
rev = "63ec47c5e295ad4f09d1df6d92afb7e10c3fec39";
sha256 = "sha256-qwm66VA/ueRMFtSUcrmuObNkz+KYgWRnmR7TnQwpxiE=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
wrapGAppsHook
];
buildInputs = [
gtk3
imlib2
libSM
libstartup_notification
libxml2
openbox
];
postPatch = ''
substituteInPlace configure.ac --replace 2.0.4 ${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;
};
}