Unverified Commit 5f0e3db2 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

nvibrant: init at 1.1.0 (#492430)

parents 47320810 05fda05a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17392,6 +17392,12 @@
    githubId = 43088426;
    name = "Mihnea Stoian";
  };
  mikaeladev = {
    email = "mikaeladev@icloud.com";
    github = "mikaeladev";
    githubId = 100416544;
    name = "mikaeladev";
  };
  mikaelfangel = {
    email = "nixpkgs.bottle597@passfwd.com";
    github = "MikaelFangel";
+38 −0
Original line number Diff line number Diff line
{
  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";
  };
})