3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/sway/bg.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

37 lines
1,007 B
Nix

{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, cairo, gdk-pixbuf
}:
stdenv.mkDerivation rec {
pname = "swaybg";
version = "1.0";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaybg";
rev = version;
sha256 = "1lmqz5bmig90gq2m7lwf02d2g7z4hzf8fhqz78c8vk92c6p4xwbc";
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols cairo gdk-pixbuf ];
mesonFlags = [
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with stdenv.lib; {
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 ];
};
}