2022-04-27 09:35:20 +00:00
|
|
|
{ lib, stdenv, fetchgit
|
|
|
|
, gettext
|
|
|
|
, python3
|
|
|
|
, elfutils
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "libsystemtap";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://sourceware.org/git/systemtap.git";
|
2024-01-13 08:15:51 +00:00
|
|
|
rev = "release-5.0";
|
|
|
|
hash = "sha256-dIBpySBTFn01CNtYwbXEramUlcYHPF6O/Ffr1BxdAH0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = [ gettext python3 elfutils ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp -r includes/* $out/include/
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Statically defined probes development files";
|
|
|
|
homepage = "https://sourceware.org/systemtap/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ lib.maintainers.farlion ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|