Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchgit 2, gettext 3, python3 4, elfutils 5}: 6 7stdenv.mkDerivation { 8 pname = "libsystemtap"; 9 version = "4.6"; 10 11 src = fetchgit { 12 url = "git://sourceware.org/git/systemtap.git"; 13 rev = "release-4.6"; 14 hash = "sha256-z7OUy0VGxK39aYCWFfvJnWk34Je0R+51kK5pGh7TzXM="; 15 }; 16 17 dontBuild = true; 18 19 nativeBuildInputs = [ gettext python3 elfutils ]; 20 21 installPhase = '' 22 mkdir -p $out/include 23 cp -r includes/* $out/include/ 24 ''; 25 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 }; 33}