mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
libtracefs: 1.7.0 -> 1.8.1 + other updates (#332184)
This commit is contained in:
commit
9672f8a700
@ -7,7 +7,6 @@
|
|||||||
, xmlto
|
, xmlto
|
||||||
, docbook_xml_dtd_45
|
, docbook_xml_dtd_45
|
||||||
, docbook_xsl
|
, docbook_xsl
|
||||||
, coreutils
|
|
||||||
, valgrind
|
, valgrind
|
||||||
, sourceHighlight
|
, sourceHighlight
|
||||||
, meson
|
, meson
|
||||||
@ -15,17 +14,27 @@
|
|||||||
, bison
|
, bison
|
||||||
, ninja
|
, ninja
|
||||||
, cunit
|
, cunit
|
||||||
|
, gitUpdater
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libtracefs";
|
pname = "libtracefs";
|
||||||
version = "1.7.0";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-libtracefs-${version}.tar.gz";
|
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-libtracefs-${version}.tar.gz";
|
||||||
hash = "sha256-64eXFFdnZHHf4C3vbADtPuIMsfJ85VZ6t8A1gIc1CW0=";
|
hash = "sha256-2UiEgY4mQRLpWah+2rVfPiiUYBSSzRAy5gOv4YELQFQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "add-missing-documentation-to-meson-build.patch";
|
||||||
|
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/patch/?id=4cbebed79b1fe933367e298ea7ddef694b9f98d0";
|
||||||
|
hash = "sha256-tSaR0wpxrm50IyMgMoUCcHBB9r8lQQZZYGru6Znre50=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x samples/extract-example.sh
|
chmod +x samples/extract-example.sh
|
||||||
patchShebangs --build check-manpages.sh samples/extract-example.sh Documentation/install-docs.sh.in
|
patchShebangs --build check-manpages.sh samples/extract-example.sh Documentation/install-docs.sh.in
|
||||||
@ -52,6 +61,12 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ cunit ];
|
checkInputs = [ cunit ];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
# No nicer place to find latest release.
|
||||||
|
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git";
|
||||||
|
rev-prefix = "libtracefs-";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linux kernel trace file system library";
|
description = "Linux kernel trace file system library";
|
||||||
mainProgram = "sqlhist";
|
mainProgram = "sqlhist";
|
||||||
|
Loading…
Reference in New Issue
Block a user