diff options
author | Aleksana <me@aleksana.moe> | 2024-07-15 15:38:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 15:38:43 +0800 |
commit | 165c172575b6380bcbbdfe9ccb2901220efaffb6 (patch) | |
tree | 378e01d2316a5aae60d106f1063a87d9592d0768 /pkgs/by-name/ob | |
parent | abed455f4199e02100ac6ecff3d0aa0bc156a785 (diff) | |
parent | aa9ffbf2b0d96c86b9e0fa6faf42cbc4a60e3db4 (diff) |
Merge pull request #327090 from SFrijters/obconf-cleanup
obconf: cleanup
Diffstat (limited to 'pkgs/by-name/ob')
-rw-r--r-- | pkgs/by-name/ob/obconf/package.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/by-name/ob/obconf/package.nix b/pkgs/by-name/ob/obconf/package.nix new file mode 100644 index 0000000000000..9b233017b4ea1 --- /dev/null +++ b/pkgs/by-name/ob/obconf/package.nix @@ -0,0 +1,54 @@ +{ + 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"; + }; +}) |