mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
swaylock-effects fix, rinnosuke reformat, domain prefix
This commit is contained in:
parent
ce2e502696
commit
ae8dba970d
6 changed files with 93 additions and 39 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
akiflags = import ./akiflags;
|
||||
|
||||
swaylock-effects = import ./swaylock-effects;
|
||||
|
||||
fusionpbx = import ./fusionpbx;
|
||||
fusionpbx-apps = import ./fusionpbx-apps;
|
||||
|
||||
|
|
|
|||
50
overlays/katpkgs/public/swaylock-effects/default.nix
Normal file
50
overlays/katpkgs/public/swaylock-effects/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, scdoc
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, libxkbcommon
|
||||
, cairo
|
||||
, gdk-pixbuf
|
||||
, pam
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swaylock-effects";
|
||||
version = "2021-05-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mortie";
|
||||
repo = "swaylock-effects";
|
||||
rev = "5cb9579faaf5662b111f5722311b701eff1c1d00";
|
||||
sha256 = "036dkhfqgk7g9vbr5pxgrs66h5fz0rwdsc67i1w51aa9v01r35ca";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue