Merge pull request #266480 from nbraud/pkgs/ddccontrol

This commit is contained in:
Maciej Krüger 2023-11-11 22:14:18 +01:00 committed by GitHub
commit e8c0fde6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, intltool
, libxml2
@ -34,6 +35,14 @@ stdenv.mkDerivation rec {
ddccontrol-db
];
patches = [
# Upstream commit, fixed the version number in v1.0.0
(fetchpatch {
url = "https://github.com/ddccontrol/ddccontrol/commit/fc8c5b5d0f2b64b08b95f4a7d8f47f2fd8ceec34.patch";
hash = "sha256-SB1BaolTNCUYgj38nMg1uLUqOHvnwCr8T3cnfu/7rjI=";
})
];
configureFlags = [
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
];