diff options
author | wentam <wentam42@gmail.com> | 2022-09-25 05:33:19 -0400 |
---|---|---|
committer | wentam <wentam42@gmail.com> | 2022-10-19 04:12:02 -0400 |
commit | 46539f80fd65bd1007ed090129533959f312eb6f (patch) | |
tree | c6e3f1b7e73427301dda312fb683575e11c66147 /pkgs/tools/wayland | |
parent | b257d9cb396252aa6ff40da450bce08285f4e028 (diff) |
proycon-wayout: init at 0.1.3
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r-- | pkgs/tools/wayland/proycon-wayout/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/proycon-wayout/default.nix b/pkgs/tools/wayland/proycon-wayout/default.nix new file mode 100644 index 0000000000000..2b4dc0f54e4f4 --- /dev/null +++ b/pkgs/tools/wayland/proycon-wayout/default.nix @@ -0,0 +1,46 @@ +{ stdenv +, lib +, fetchFromSourcehut +, meson +, wayland-protocols +, wayland +, cairo +, pango +, scdoc +, ninja +, cmake +, pkg-config +, wayland-scanner +}: + +stdenv.mkDerivation rec { + pname = "proycon-wayout"; + version = "0.1.3"; + + src = fetchFromSourcehut { + owner = "~proycon"; + repo = "wayout"; + rev = version; + sha256 = "sha256-pxHz8y63xX9I425OG0jPvQVx4mAbTYHxVMMkfjZpURo="; + }; + + postPatch = '' + substituteInPlace meson.build --replace "'werror=true'," "" # Build fails with -Werror, remove + ''; + + postFixup = '' + mv $out/bin/wayout $out/bin/proycon-wayout # Avoid conflict with shinyzenith/wayout + ''; + + depsBuildBuild = [ pkg-config ]; + nativeBuildInputs = [ scdoc ninja meson cmake pkg-config wayland-scanner ]; + buildInputs = [ wayland-protocols wayland cairo pango ]; + + meta = with lib; { + description = "Takes text from standard input and outputs it to a desktop-widget on Wayland desktops."; + homepage = "https://git.sr.ht/~proycon/wayout"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ wentam ]; + }; +} |