depot/third_party/nixpkgs/pkgs/development/libraries/libsystemtap/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
773 B
Nix

{stdenv, fetchgit, gettext, python, 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 python elfutils ];
installPhase = ''
mkdir -p $out/include
cp -r includes/* $out/include/
'';
meta = with stdenv.lib; {
description = "Statically defined probes development files";
homepage = "https://sourceware.org/systemtap/";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.farlion ];
};
}