ddccontrol: 0.6.0 -> 0.6.1

This commit is contained in:
R. Ryantm 2022-11-08 18:21:15 +00:00
parent f8b1eb8f69
commit 938795bf0e

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}/"