Commit 8d34d0e6 authored by Michal Sojka's avatar Michal Sojka
Browse files

libtracefs: add updateScript

parent 9f918d61
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
, bison
, ninja
, cunit
, gitUpdater
}:

stdenv.mkDerivation rec {
@@ -52,6 +53,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";