proycon-wayout: init at 0.1.3
This commit is contained in:
parent
b257d9cb39
commit
46539f80fd
46
pkgs/tools/wayland/proycon-wayout/default.nix
Normal file
46
pkgs/tools/wayland/proycon-wayout/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1351,6 +1351,8 @@ with pkgs;
|
||||||
|
|
||||||
pferd = callPackage ../tools/misc/pferd {};
|
pferd = callPackage ../tools/misc/pferd {};
|
||||||
|
|
||||||
|
proycon-wayout = callPackage ../tools/wayland/proycon-wayout {};
|
||||||
|
|
||||||
q = callPackage ../tools/networking/q {};
|
q = callPackage ../tools/networking/q {};
|
||||||
|
|
||||||
qFlipper = libsForQt515.callPackage ../tools/misc/qflipper { };
|
qFlipper = libsForQt515.callPackage ../tools/misc/qflipper { };
|
||||||
|
|
Loading…
Reference in a new issue