gvproxy: 0.8.2 -> 0.8.3 (#379264)
[NixPkgs.git] / pkgs / by-name / sw / swaybg / package.nix
blobc65abd5bd7ca46e8a1a849d53a358b8ab9c03497
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   meson,
6   ninja,
7   pkg-config,
8   scdoc,
9   wayland,
10   wayland-protocols,
11   cairo,
12   gdk-pixbuf,
13   wayland-scanner,
14   wrapGAppsNoGuiHook,
15   librsvg
18 stdenv.mkDerivation rec {
19   pname = "swaybg";
20   version = "1.2.1";
22   src = fetchFromGitHub {
23     owner = "swaywm";
24     repo = "swaybg";
25     tag = "v${version}";
26     hash = "sha256-IJcPSBJErf8Dy9YhYAc9eg/llgaaLZCQSB0Brof+kpg=";
27   };
29   strictDeps = true;
30   depsBuildBuild = [ pkg-config ];
31   nativeBuildInputs = [
32     meson
33     ninja
34     pkg-config
35     scdoc
36     wayland-scanner
37     wrapGAppsNoGuiHook
38     gdk-pixbuf
39   ];
40   buildInputs = [
41     wayland
42     wayland-protocols
43     cairo
44     gdk-pixbuf
45     librsvg
46   ];
48   mesonFlags = [
49     "-Dgdk-pixbuf=enabled"
50     "-Dman-pages=enabled"
51   ];
53   meta = with lib; {
54     description = "Wallpaper tool for Wayland compositors";
55     inherit (src.meta) homepage;
56     longDescription = ''
57       A wallpaper utility for Wayland compositors, that is compatible with any
58       Wayland compositor which implements the following Wayland protocols:
59       wlr-layer-shell, xdg-output, and xdg-shell.
60     '';
61     license = licenses.mit;
62     mainProgram = "swaybg";
63     maintainers = with maintainers; [ primeos ];
64     platforms = platforms.linux;
65   };