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:
parent
023b99e916
commit
d7196b13a6
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, intltool
|
, intltool
|
||||||
, libxml2
|
, libxml2
|
||||||
|
@ -34,6 +35,14 @@ stdenv.mkDerivation rec {
|
||||||
ddccontrol-db
|
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 = [
|
configureFlags = [
|
||||||
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
|
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue