From 05fda05ad3a53336e694c48e2693cc477a489d66 Mon Sep 17 00:00:00 2001 From: mikaeladev <100416544+mikaeladev@users.noreply.github.com> Date: Fri, 20 Feb 2026 10:21:09 +0000 Subject: [PATCH] nvibrant: init at 1.1.0 --- pkgs/by-name/nv/nvibrant/package.nix | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/nv/nvibrant/package.nix diff --git a/pkgs/by-name/nv/nvibrant/package.nix b/pkgs/by-name/nv/nvibrant/package.nix new file mode 100644 index 000000000000..afabbff94736 --- /dev/null +++ b/pkgs/by-name/nv/nvibrant/package.nix @@ -0,0 +1,38 @@ +{ + lib, + stdenv, + fetchFromGitHub, + meson, + ninja, + pkg-config, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "nvibrant"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "Tremeschin"; + repo = "nvibrant"; + rev = "v${finalAttrs.version}"; + hash = "sha256-RZIi1V3hcwZdaI84Nd0YSQOjDng9/ZDg7aqfTL7GJIU="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ]; + + mesonBuildType = "release"; + + meta = with lib; { + description = "Configure NVIDIA's Digital Vibrance on Wayland"; + homepage = "https://github.com/Tremeschin/nvibrant"; + license = licenses.gpl3Only; + maintainers = [ maintainers.mikaeladev ]; + platforms = [ "x86_64-linux" ]; + mainProgram = "nvibrant"; + }; +})