Commit d7196b13 authored by nicoo's avatar nicoo
Browse files

ddccontrol: Fix version number

Upstream forgot to update the version number in `configure.ac` when
cutting release v1.0.0, so the utility wrongly reports its version
as being 0.6.0.
parent 023b99e9
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"
  ];