nixpkgs/pkgs/tools/misc/ddcutil/default.nix
R. RyanTM e1d726f660 ddcutil: 0.9.0 -> 0.9.1
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/s0wznnnrk2688704nlzkplhvh8zcs7xq-ddcutil-0.9.1/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.1 with grep in /nix/store/s0wznnnrk2688704nlzkplhvh8zcs7xq-ddcutil-0.9.1
- directory tree listing: https://gist.github.com/e013a05120e8a9b8e765dbfe9ada44c3
- du listing: https://gist.github.com/bb63986822a2bb627a9f6623b2570c2b
2018-06-08 10:52:53 -07: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.1";
src = fetchFromGitHub {
owner = "rockowitz";
repo = "ddcutil";
rev = "v${version}";
sha256 = "0chs5bfw4yjnr7brhxxqydybcxdkjv4gnik2s0cvjzcj3bqnz73b";
};
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 ];
};
}