3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #186637 from trofi/update-strace

strace: 5.18 -> 5.19
This commit is contained in:
Jörg Thalheim 2022-08-14 13:17:29 +01:00 committed by GitHub
commit e31ffc038b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";