forked from mirrors/nixpkgs
Merge pull request #186637 from trofi/update-strace
strace: 5.18 -> 5.19
This commit is contained in:
commit
e31ffc038b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue