nixpkgs/pkgs/applications/window-managers/sway/bg.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config, scdoc
2019-05-22 11:03:39 +00:00
, wayland, wayland-protocols, cairo, gdk-pixbuf
, wayland-scanner
2019-05-03 20:26:20 +00:00
}:
stdenv.mkDerivation rec {
pname = "swaybg";
2022-03-11 19:47:16 +00:00
version = "1.1.1";
2019-05-03 20:26:20 +00:00
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaybg";
2021-07-19 12:37:43 +00:00
rev = "v${version}";
2022-03-11 19:47:16 +00:00
hash = "sha256-Lt/hn/K+CjcmU3Bs5wChiZq0VGNcraH4tSVYsmYnKjc=";
2019-05-03 20:26:20 +00:00
};
strictDeps = true;
2021-08-18 20:20:15 +00:00
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
2019-05-22 11:03:39 +00:00
buildInputs = [ wayland wayland-protocols cairo gdk-pixbuf ];
2019-05-03 20:26:20 +00:00
mesonFlags = [
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with lib; {
2019-05-03 20:26:20 +00:00
description = "Wallpaper tool for Wayland compositors";
longDescription = ''
A wallpaper utility for Wayland compositors, that is compatible with any
Wayland compositor which implements the following Wayland protocols:
wlr-layer-shell, xdg-output, and xdg-shell.
'';
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}