2021-08-05 21:33:18 +00:00
|
|
|
{lib, stdenv, fetchgit, gettext, python2, elfutils}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "libsystemtap";
|
|
|
|
version = "3.2";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://sourceware.org/git/systemtap.git";
|
|
|
|
rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
|
|
|
|
sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
|
|
|
|
fetchSubmodules = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
nativeBuildInputs = [ gettext python2 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
|
|
|
};
|
|
|
|
}
|