Merge pull request #226625 from mxkrsv/chayang

chayang: init at 0.1.0
This commit is contained in:
Pol Dellaiera 2023-08-08 03:36:31 +02:00 committed by GitHub
commit e943801b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 0 deletions

View File

@ -11721,6 +11721,12 @@
githubId = 38578268;
name = "Morgan Wolfe";
};
mxkrsv = {
email = "mxkrsv@disroot.org";
github = "mxkrsv";
githubId = 59313755;
name = "Maxim Karasev";
};
myaats = {
email = "mats@mats.sh";
github = "Myaats";

View File

@ -0,0 +1,52 @@
{ lib
, stdenv
, fetchFromSourcehut
, meson
, ninja
, pkg-config
, wayland-scanner
, wayland-protocols
, wayland
}:
stdenv.mkDerivation (finalAttrs: {
pname = "chayang";
version = "0.1.0";
src = fetchFromSourcehut {
owner = "~emersion";
repo = "chayang";
rev = "v${finalAttrs.version}";
hash = "sha256-3Vu9/Bu2WQe2Yx/2BK25pEpuPNwX6g3qoFUMznCFHeI=";
};
strictDeps = true;
pkgsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
wayland-protocols
wayland
];
meta = with lib; {
description = "Gradually dim the screen on Wayland";
homepage = "https://git.sr.ht/~emersion/chayang/";
license = licenses.mit;
longDescription = ''
Gradually dim the screen on Wayland.
Can be used to implement a grace period before locking the session.
'';
maintainers = with maintainers; [ mxkrsv ];
platforms = platforms.linux;
};
})

View File

@ -4619,6 +4619,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Foundation;
};
chayang = callPackage ../tools/wayland/chayang { };
cherrytree = callPackage ../applications/misc/cherrytree { };
chntpw = callPackage ../tools/security/chntpw { };