Merge pull request #200233 from r-ryantm/auto-update/ddccontrol

ddccontrol: 0.6.0 -> 0.6.1
This commit is contained in:
Fabian Affolter 2022-11-09 08:01:10 +01:00 committed by GitHub
commit ecb56b9fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,13 +12,13 @@
stdenv.mkDerivation rec {
pname = "ddccontrol";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "ddccontrol";
repo = "ddccontrol";
rev = version;
sha256 = "00pmnzvd4l3w6chzw41mrf1pd7lrcwi1n7320bnq20rn8hsnbnxk";
sha256 = "sha256-En2e0FDKLpMjuxa2aXuvI6h7d+D1D5x1dDg96924/qM=";
};
nativeBuildInputs = [
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
substituteInPlace src/ddcpci/Makefile.am \
--replace "chmod 4711" "chmod 0711"
'' + lib.optionalString (lib.versionAtLeast "0.6.0" version) ''
'' + lib.optionalString (lib.versionAtLeast "0.6.1" version) ''
# Upstream PR: https://github.com/ddccontrol/ddccontrol/pull/115
substituteInPlace src/lib/Makefile.am \
--replace "/etc/" "\$""{sysconfdir}/"