diff --git a/pkgs/development/tools/misc/strace/default.nix b/pkgs/development/tools/misc/strace/default.nix index bee5d227f4d6..63a24bac8354 100644 --- a/pkgs/development/tools/misc/strace/default.nix +++ b/pkgs/development/tools/misc/strace/default.nix @@ -1,12 +1,12 @@ -{ lib, stdenv, fetchurl, perl, libunwind, buildPackages }: +{ lib, stdenv, fetchurl, perl, libunwind, buildPackages, gitUpdater }: stdenv.mkDerivation rec { pname = "strace"; - version = "5.18"; + version = "5.19"; src = fetchurl { url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-YCk+p5rJJT1gDNyb4HetKYjKIihKQ5yeZr5RUNs9EYc="; + sha256 = "sha256-qj3ByOYOT2/z05ZRSqJH88e/cZ2KjcTdT6eTvnhr7KM="; }; depsBuildBuild = [ buildPackages.stdenv.cc ]; @@ -18,6 +18,13 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-mpers=check" ]; + passthru.updateScript = gitUpdater { + inherit pname version; + # No nicer place to find latest release. + url = "https://github.com/strace/strace.git"; + rev-prefix = "v"; + }; + meta = with lib; { homepage = "https://strace.io/"; description = "A system call tracer for Linux";