about summary refs log tree commit diff
path: root/pkgs/by-name/ob
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-07-15 15:38:43 +0800
committerGitHub <noreply@github.com>2024-07-15 15:38:43 +0800
commit165c172575b6380bcbbdfe9ccb2901220efaffb6 (patch)
tree378e01d2316a5aae60d106f1063a87d9592d0768 /pkgs/by-name/ob
parentabed455f4199e02100ac6ecff3d0aa0bc156a785 (diff)
parentaa9ffbf2b0d96c86b9e0fa6faf42cbc4a60e3db4 (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.nix54
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";
+  };
+})