1{ lib, stdenv, fetchgit
2, gettext
3, python3
4, elfutils
5}:
6
7stdenv.mkDerivation {
8 pname = "libsystemtap";
9 version = "5.1";
10
11 src = fetchgit {
12 url = "git://sourceware.org/git/systemtap.git";
13 rev = "release-5.1";
14 hash = "sha256-3rhDllsgYGfh1gb5frUrlkzdz57A6lcvBELtgvb5Q7M=";
15 };
16
17 dontBuild = true;
18
19 nativeBuildInputs = [ gettext python3 elfutils ];
20
21 installPhase = ''
22 mkdir -p $out/include
23 cp -r includes/* $out/include/
24 '';
25
26 meta = with lib; {
27 description = "Statically defined probes development files";
28 homepage = "https://sourceware.org/systemtap/";
29 license = licenses.bsd3;
30 platforms = platforms.unix;
31 maintainers = [ lib.maintainers.farlion ];
32 };
33}