summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2021-02-10 13:50:53 -0300
committerGitHub <noreply@github.com>2021-02-10 13:50:53 -0300
commitb090f109a986809f9d1dae90c08dec746b006c41 (patch)
tree0d92cae99294c92ec1b458d5619a9e5e3ecc218c /pkgs/applications/misc
parentae099bf6d16d647c88f4885ea4f984a0a65d59bf (diff)
parentc2e7f9ad61f616d8e3f6f7f42d3e5fa126bbae58 (diff)
downloadnixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar.gz
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar.bz2
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar.lz
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar.xz
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.tar.zst
nixpkgs-b090f109a986809f9d1dae90c08dec746b006c41.zip
Merge pull request #112662 from AndersonTorres/new-wbg
Misc updates
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/wbg/default.nix52
-rw-r--r--pkgs/applications/misc/yambar/default.nix86
2 files changed, 138 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wbg/default.nix b/pkgs/applications/misc/wbg/default.nix
new file mode 100644
index 00000000000..4f385ef2174
--- /dev/null
+++ b/pkgs/applications/misc/wbg/default.nix
@@ -0,0 +1,52 @@
+{ stdenv
+, lib
+, fetchgit
+, meson
+, ninja
+, pkg-config
+, git
+, scdoc
+, cairo
+, fcft
+, libpng
+, librsvg
+, libxkbcommon
+, pixman
+, tllist
+, wayland
+, wayland-protocols
+, wlroots
+}:
+
+stdenv.mkDerivation rec {
+  pname = "wbg";
+  version = "unstable-2020-08-01";
+
+  src = fetchgit {
+    url = "https://codeberg.org/dnkl/wbg";
+    rev = "1b05bd80d0f40e3ba1e977002d0653f532649269";
+    sha256 = "0i1j7aqvj0vl2ww5cvffqci1kjqjn0sw6sp2j0ljblaif6qk9asc";
+  };
+
+  nativeBuildInputs = [ pkg-config meson ninja scdoc git ];
+  buildInputs = [
+    cairo
+    fcft
+    libpng
+    librsvg
+    libxkbcommon
+    pixman
+    tllist
+    wayland
+    wayland-protocols
+    wlroots
+  ];
+
+  meta = with lib; {
+    description = "Wallpaper application for Wayland compositors";
+    homepage = "https://codeberg.org/dnkl/wbg";
+    license = licenses.isc;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = with platforms; linux;
+  };
+}
diff --git a/pkgs/applications/misc/yambar/default.nix b/pkgs/applications/misc/yambar/default.nix
new file mode 100644
index 00000000000..47d02a0cec9
--- /dev/null
+++ b/pkgs/applications/misc/yambar/default.nix
@@ -0,0 +1,86 @@
+{ stdenv
+, lib
+, fetchgit
+, pkg-config
+, meson
+, ninja
+, scdoc
+, alsaLib
+, fcft
+, json_c
+, libmpdclient
+, libxcb
+, libyaml
+, pixman
+, tllist
+, udev
+, wayland
+, wayland-protocols
+, xcbutil
+, xcbutilcursor
+, xcbutilerrors
+, xcbutilwm
+}:
+
+stdenv.mkDerivation rec {
+  pname = "yambar";
+  version = "1.6.1";
+
+  src = fetchgit {
+    url = "https://codeberg.org/dnkl/yambar.git";
+    rev = version;
+    sha256 = "p47tFsEWsYNe6IVV65xGG211u6Vm2biRf4pmUDylBOQ=";
+  };
+
+  nativeBuildInputs = [ pkg-config meson ninja scdoc ];
+  buildInputs = [
+    alsaLib
+    fcft
+    json_c
+    libmpdclient
+    libxcb
+    libyaml
+    pixman
+    tllist
+    udev
+    wayland
+    wayland-protocols
+    xcbutil
+    xcbutilcursor
+    xcbutilerrors
+    xcbutilwm
+  ];
+
+  meta = with lib; {
+    homepage = "https://codeberg.org/dnkl/yambar";
+    description = "Modular status panel for X11 and Wayland";
+    longDescription = ''
+      yambar is a lightweight and configurable status panel (bar, for short) for
+      X11 and Wayland, that goes to great lengths to be both CPU and battery
+      efficient - polling is only done when absolutely necessary.
+
+      It has a number of modules that provide information in the form of
+      tags. For example, the clock module has a date tag that contains the
+      current date.
+
+      The modules do not know how to present the information though. This is
+      instead done by particles. And the user, you, decides which particles (and
+      thus how to present the data) to use.
+
+      Furthermore, each particle can have a decoration - a background color or a
+      graphical underline, for example.
+
+      There is no support for images or icons. use an icon font (e.g. Font
+      Awesome, or Material Icons) if you want a graphical representation.
+
+      There are a number of modules and particles builtin. More can be added as
+      plugins. You can even write your own!
+
+      To summarize: a bar displays information provided by modules, using
+      particles and decorations. How is configured by you.
+    '';
+    license = licenses.mit;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = with platforms; unix;
+  };
+}