Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libsystemtap / default.nix
blob3525d057b97af290ae7a5d11d4557afc22ce2d02
1 { lib, stdenv, fetchgit
2 , gettext
3 , python3
4 , elfutils
5 }:
7 stdenv.mkDerivation {
8   pname = "libsystemtap";
9   version = "4.6";
11   src = fetchgit {
12     url = "git://sourceware.org/git/systemtap.git";
13     rev = "release-4.6";
14     hash = "sha256-z7OUy0VGxK39aYCWFfvJnWk34Je0R+51kK5pGh7TzXM=";
15   };
17   dontBuild = true;
19   nativeBuildInputs = [ gettext python3 elfutils ];
21   installPhase = ''
22     mkdir -p $out/include
23     cp -r includes/* $out/include/
24   '';
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   };