nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{stdenv, fetchgit, gettext, python, elfutils}:
2
3stdenv.mkDerivation {
4 pname = "libsystemtap";
5 version = "3.2";
6
7 src = fetchgit {
8 url = "git://sourceware.org/git/systemtap.git";
9 rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
10 sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
11 fetchSubmodules = false;
12 };
13
14 dontBuild = true;
15
16 nativeBuildInputs = [ gettext python elfutils ];
17
18 installPhase = ''
19 mkdir -p $out/include
20 cp -r includes/* $out/include/
21 '';
22
23 meta = with stdenv.lib; {
24 description = "Statically defined probes development files";
25 homepage = "https://sourceware.org/systemtap/";
26 license = licenses.bsd3;
27 platforms = platforms.unix;
28 maintainers = [ stdenv.lib.maintainers.farlion ];
29 };
30}