nixpkgs/pkgs/by-name/ba/backlight-auto/package.nix
Jade Lovelace 5dfb548004 maintainers: remove lf-
Over the last few months I have had at least a half dozen points points
when I have wanted to resign, and my biggest regret is that you can only
resign once.

After the previous such opportunity, I was emotionally done.

Today's shameful incident has made it abundantly clear I am not welcome.
Let's make that official.

It's been a long run and I've met a lot of lovely people working on the
Nix ecosystem. Let's hope that the technology lives on, and that I can
keep working with the lovely people I have spent most of my time working
with, *but outside of Nix*.
2024-07-02 02:07:50 +02:00

30 lines
674 B
Nix

{ lib, stdenv, zig, libyuv, fetchFromGitHub }:
stdenv.mkDerivation (finalAttrs: {
pname = "backlight-auto";
version = "0.0.1";
src = fetchFromGitHub {
owner = "lf94";
repo = "backlight-auto";
rev = finalAttrs.version;
hash = "sha256-QPymwlDrgKM/SXDzJdmfzWLSLU2D7egif1OIUE+SHoI=";
};
nativeBuildInputs = [
zig.hook
];
buildInputs = [
libyuv
];
meta = with lib; {
description = "Automatically set screen brightness with a webcam";
mainProgram = "backlight-auto";
homepage = "https://len.falken.directory/backlight-auto.html";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.linux;
};
})