Unverified Commit e8c0fde6 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

Merge pull request #266480 from nbraud/pkgs/ddccontrol

parents e9cdae74 d7196b13
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ 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"
  ];