chayang: init at 0.1.0

This commit is contained in:
Maxim Karasev 2023-04-17 14:26:36 +03:00
parent b6a2d04e33
commit 47851fa30f
2 changed files with 54 additions and 0 deletions

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

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