mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
cfce957d4f
* turbovnc: add changelog url * memray: add changelog url * ddcutil: add changelog url * jc: add changelog url * zed: add changelog url * lua: use https homepage * sil: use https url * the-powder-toy: use https homepage * tldr: add changelog url * openjpeg: add changelog url * scheme48: use https homepage * bubblewrap: set meta.mainProgram * zbar: set meta.mainProgram * qpdf: add changelog url * nvtop: set meta.mainProgram * squashfs: add meta.mainProgram
50 lines
922 B
Nix
50 lines
922 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, glib
|
|
, i2c-tools
|
|
, udev
|
|
, kmod
|
|
, libgudev
|
|
, libusb1
|
|
, libdrm
|
|
, xorg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ddcutil";
|
|
version = "1.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.ddcutil.com/tarballs/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-vZI7OquGjZ0koArdOWKkfFtfRzCvtXm8lGFCUklloEI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [
|
|
glib
|
|
i2c-tools
|
|
kmod
|
|
libdrm
|
|
libgudev
|
|
libusb1
|
|
udev
|
|
xorg.libXrandr
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.ddcutil.com/";
|
|
description = "Query and change Linux monitor settings using DDC/CI and USB";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
changelog = "https://github.com/rockowitz/ddcutil/blob/v${version}/CHANGELOG.md";
|
|
};
|
|
}
|
|
|