2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchgit, gettext, python, elfutils}:
|
2019-08-10 11:58:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "libsystemtap";
|
|
|
|
version = "3.2";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "git://sourceware.org/git/systemtap.git";
|
2019-08-10 11:58:44 +01:00
|
|
|
rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
|
|
|
|
sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
|
|
|
|
fetchSubmodules = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gettext python elfutils ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp -r includes/* $out/include/
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-08-10 11:58:44 +01:00
|
|
|
description = "Statically defined probes development files";
|
|
|
|
homepage = "https://sourceware.org/systemtap/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = [ lib.maintainers.farlion ];
|
2019-08-10 11:58:44 +01:00
|
|
|
};
|
|
|
|
}
|