mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
37 lines
1007 B
Nix
37 lines
1007 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, meson, ninja, pkg-config, 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 pkg-config scdoc ];
|
|
buildInputs = [ wayland wayland-protocols cairo gdk-pixbuf ];
|
|
|
|
mesonFlags = [
|
|
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
|
|
];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|