Unverified Commit 0faf6854 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #192871 from wentam/pkgs/proycon-wayout

parents efc8480b b6910964
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14474,6 +14474,12 @@
      fingerprint = "2145 955E 3F5E 0C95 3458  41B5 11F7 BAEA 8567 43FF";
    }];
  };
  wentam = {
    name = "Matt Egeler";
    email = "wentam42@gmail.com";
    github = "wentam";
    githubId = 901583;
  };
  wentasah = {
    name = "Michal Sojka";
    email = "wsh@2x.cz";
+46 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1375,6 +1375,8 @@ with pkgs;
  pferd = callPackage ../tools/misc/pferd {};
  proycon-wayout = callPackage ../tools/wayland/proycon-wayout {};
  q = callPackage ../tools/networking/q {};
  qFlipper = libsForQt515.callPackage ../tools/misc/qflipper { };