Merge pull request #277718 from trofi/libtarceevent-update

libtraceevent: 1.8.0 -> 1.8.1
This commit is contained in:
Pierre Bourdon 2024-01-02 19:30:26 +01:00 committed by GitHub
commit 3e6b17baf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,13 @@
{ lib, stdenv, fetchgit, pkg-config, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, meson, ninja, cunit }:
{ lib, stdenv, fetchgit, pkg-config, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, meson, ninja, cunit, gitUpdater }:
stdenv.mkDerivation rec {
pname = "libtraceevent";
version = "1.8.0";
version = "1.8.1";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git";
rev = "libtraceevent-${version}";
sha256 = "sha256-l1x9tiHKhfdetlnn9S/EfpcHDzZqiTOrdFhHQtOC6Do=";
hash = "sha256-zib2IrgtaDGDEO/2Kp9ytHuceW/7slRPDUClYgqemOE=";
};
postPatch = ''
@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
doCheck = true;
checkInputs = [ cunit ];
passthru.updateScript = gitUpdater {
# No nicer place to find latest release.
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git";
rev-prefix = "libtraceevent-";
};
meta = with lib; {
description = "Linux kernel trace event library";
homepage = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/";