nixpkgs/pkgs/development/libraries/libsystemtap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
710 B
Nix
Raw Normal View History

2022-04-21 19:47:06 +00:00
{ lib, stdenv, fetchgit
, gettext
, python3
, elfutils
}:
2019-08-10 10:58:44 +00:00
stdenv.mkDerivation {
pname = "libsystemtap";
2022-04-21 19:47:06 +00:00
version = "4.6";
2019-08-10 10:58:44 +00:00
src = fetchgit {
url = "git://sourceware.org/git/systemtap.git";
2022-04-21 19:47:06 +00:00
rev = "release-4.6";
hash = "sha256-z7OUy0VGxK39aYCWFfvJnWk34Je0R+51kK5pGh7TzXM=";
2019-08-10 10:58:44 +00:00
};
dontBuild = true;
2022-04-21 19:47:06 +00:00
nativeBuildInputs = [ gettext python3 elfutils ];
2019-08-10 10:58:44 +00:00
installPhase = ''
mkdir -p $out/include
cp -r includes/* $out/include/
'';
meta = with lib; {
2019-08-10 10:58:44 +00:00
description = "Statically defined probes development files";
homepage = "https://sourceware.org/systemtap/";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ lib.maintainers.farlion ];
2019-08-10 10:58:44 +00:00
};
}