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.
40 lines
998 B
Nix
40 lines
998 B
Nix
{ lib, stdenv, fetchFromGitHub,
|
|
meson, ninja, pkg-config, scdoc,
|
|
wayland, wayland-protocols, libxkbcommon,
|
|
cairo, gdk-pixbuf, pam
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swaylock-effects";
|
|
version = "v1.6-2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mortie";
|
|
repo = "swaylock-effects";
|
|
rev = version;
|
|
sha256 = "0fs3c4liajgkax0a2pdc7117v1g9k73nv87g3kyv9wsnkfbbz534";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
|
|
'';
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
|
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];
|
|
|
|
mesonFlags = [
|
|
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Screen locker for Wayland";
|
|
longDescription = ''
|
|
Swaylock, with fancy effects
|
|
'';
|
|
inherit (src.meta) homepage;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ gnxlxnxx ];
|
|
};
|
|
}
|