depot/third_party/nixpkgs/pkgs/development/libraries/libsystemtap/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

30 lines
766 B
Nix

{lib, stdenv, fetchgit, gettext, python2, elfutils}:
stdenv.mkDerivation {
pname = "libsystemtap";
version = "3.2";
src = fetchgit {
url = "git://sourceware.org/git/systemtap.git";
rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
fetchSubmodules = false;
};
dontBuild = true;
nativeBuildInputs = [ gettext python2 elfutils ];
installPhase = ''
mkdir -p $out/include
cp -r includes/* $out/include/
'';
meta = with lib; {
description = "Statically defined probes development files";
homepage = "https://sourceware.org/systemtap/";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ lib.maintainers.farlion ];
};
}