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.
This commit is contained in:
nicoo 2023-11-09 14:57:18 +00:00
parent 023b99e916
commit d7196b13a6

@ -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"
];