nixpkgs/pkgs/tools/misc/ddcutil/default.nix
R. RyanTM 7d0f84b909 ddcutil: 0.8.6 -> 0.9.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ddcutil/versions.

These checks were done:

- built on NixOS
- /nix/store/xlxjnfwwcwkhzkpg2qwxz5j5gbh4csnk-ddcutil-0.9.0/bin/ddcutil passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 0.9.0 with grep in /nix/store/xlxjnfwwcwkhzkpg2qwxz5j5gbh4csnk-ddcutil-0.9.0
- directory tree listing: https://gist.github.com/39ac3ce627e1198f84287e5a42257663
- du listing: https://gist.github.com/b896a17a17dd52041097af423a55aea6
2018-05-21 09:03:59 +00:00

29 lines
756 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, glib, i2c-tools, udev, libgudev, libusb, libdrm, xorg }:
stdenv.mkDerivation rec {
name = "ddcutil-${version}";
version = "0.9.0";
src = fetchFromGitHub {
owner = "rockowitz";
repo = "ddcutil";
rev = "v${version}";
sha256 = "1lcn3jbhpcm6ixp24vsfnk1v0qi0fjkkf57f4grs1wg148s3jpvc";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
i2c-tools udev libgudev
glib libusb libdrm xorg.libXrandr
];
meta = with stdenv.lib; {
homepage = http://www.ddcutil.com/;
description = "Query and change Linux monitor settings using DDC/CI and USB";
license = licenses.gpl2;
maintainers = with maintainers; [ rnhmjoj ];
};
}