Unverified Commit 363459e7 authored by Michele Guerini Rocco's avatar Michele Guerini Rocco Committed by GitHub
Browse files

Merge pull request #264189 from rnhmjoj/pr-ddcutil

ddcutil: 1.4.2 -> 2.0.0
parents 662ee2ba d5a991ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@

mkDerivation rec {
  pname = "ddcui";
  version = "0.3.0";
  version = "0.4.2";

  src = fetchFromGitHub {
    owner = "rockowitz";
    repo = "ddcui";
    rev = "v${version}";
    sha256 = "sha256-P8dh6k8lht1/JNILzNZEyYD8loNoJjG5869K2Hl11z8=";
    sha256 = "sha256-T4/c8K1P/o91DWJik/9HtHav948vbVa40qPdy7nKmos=";
  };

  nativeBuildInputs = [
+5 −6
Original line number Diff line number Diff line
@@ -4,9 +4,8 @@
, autoreconfHook
, pkg-config
, glib
, i2c-tools
, jansson
, udev
, kmod
, libgudev
, libusb1
, libdrm
@@ -15,23 +14,23 @@

stdenv.mkDerivation rec {
  pname = "ddcutil";
  version = "1.4.2";
  version = "2.0.0";

  src = fetchurl {
    url = "https://www.ddcutil.com/tarballs/ddcutil-${version}.tar.gz";
    hash = "sha256-wGwTZheRHi5pGf6WB9hGd8m/pLOmnlYYrS5dd+QItAQ=";
    hash = "sha256-CunFRQHKk3q8CU60TSRnRoCW7+9X1+JpJHm773HhmZs=";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [
    glib
    i2c-tools
    kmod
    jansson
    libdrm
    libgudev
    libusb1
    udev
    xorg.libXext
    xorg.libXrandr
  ];