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
|
||||
, docbook_xml_dtd_45
|
||||
, docbook_xsl
|
||||
, coreutils
|
||||
, valgrind
|
||||
, sourceHighlight
|
||||
, meson
|
||||
@ -15,17 +14,27 @@
|
||||
, bison
|
||||
, ninja
|
||||
, cunit
|
||||
, gitUpdater
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtracefs";
|
||||
version = "1.7.0";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchzip {
|
||||
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 = ''
|
||||
chmod +x samples/extract-example.sh
|
||||
patchShebangs --build check-manpages.sh samples/extract-example.sh Documentation/install-docs.sh.in
|
||||
@ -52,6 +61,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/libtracefs.git";
|
||||
rev-prefix = "libtracefs-";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linux kernel trace file system library";
|
||||
mainProgram = "sqlhist";
|
||||
|
Loading…
Reference in New Issue
Block a user