hinoirisetr: init at 1.6.3 (#521988)

This commit is contained in:
Sandro
2026-06-14 21:15:03 +00:00
committed by GitHub
2 changed files with 68 additions and 0 deletions
+8
View File
@@ -28962,6 +28962,14 @@
githubId = 110242808;
name = "Vasilii Pustovoit";
};
vavakado = {
email = "xor@vavakado.xyz";
github = "vavakado";
githubId = 80159210;
name = "Vladimir Rubin";
matrix = "@vavakado:imagisphe.re";
keys = [ { fingerprint = "A054 0374 CD37 2C71 FE6D E0CF CAB7 4472 7F36 B524"; } ];
};
vbgl = {
email = "Vincent.Laporte@gmail.com";
github = "vbgl";
+60
View File
@@ -0,0 +1,60 @@
{
fetchFromForgejo,
installShellFiles,
lib,
libnotify,
pandoc,
patchelf,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hinoirisetr";
version = "1.6.3";
__structuredAttrs = true;
src = fetchFromForgejo {
domain = "git.vavakado.xyz";
owner = "me";
repo = "hinoirisetr";
tag = "v${finalAttrs.version}";
hash = "sha256-XgIeeVCnlntf2RopA6SMuFCgbqTlTEZv6V5ezjEHVKA=";
};
cargoHash = "sha256-lydS9TWb+Y1PPC7C3Mn6KNVX1fsooAcDKJeKMnXWZY0=";
nativeBuildInputs = [
installShellFiles
pandoc
patchelf
];
buildInputs = [
libnotify
];
postFixup = ''
patchelf --add-rpath "${lib.getLib libnotify}/lib" $out/bin/hinoirisetr
'';
postBuild = ''
pandoc manpages/hinoirisetr.1.md -s -t man -o hinoirisetr.1
'';
postInstall = ''
installManPage hinoirisetr.1
'';
meta = {
description = "a lightweight daemon that automatically adjusts your screen's color temperature and gamma";
homepage = "https://git.vavakado.xyz/me/hinoirisetr";
changelog = "https://git.vavakado.xyz/me/hinoirisetr/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
vavakado
];
mainProgram = "hinoirisetr";
platforms = lib.platforms.linux;
};
})