diff options
author | Florian Peter <florian.peter@gmx.at> | 2019-08-10 18:58:44 +0800 |
---|---|---|
committer | Florian Peter <florian.peter@gmx.at> | 2019-08-11 02:11:32 +0800 |
commit | b0a480147b56bc33365369413a7d309f7a8e215a (patch) | |
tree | 83dea3efd61e07e17d1424121fab4abdc715471a | |
parent | cb5b65c62ad09e69b193758c260683d3da901e70 (diff) | |
download | nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar.gz nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar.bz2 nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar.lz nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar.xz nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.tar.zst nixlib-b0a480147b56bc33365369413a7d309f7a8e215a.zip |
libsystemtap: init at 3.2
-rw-r--r-- | pkgs/development/libraries/libsystemtap/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libsystemtap/default.nix b/pkgs/development/libraries/libsystemtap/default.nix new file mode 100644 index 000000000000..ecfa3377c995 --- /dev/null +++ b/pkgs/development/libraries/libsystemtap/default.nix @@ -0,0 +1,30 @@ +{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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd2f71c28ae2..596b4cbfefde 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11702,6 +11702,8 @@ in inherit (darwin.apple_sdk.frameworks) AudioUnit; }; + libsystemtap = callPackage ../development/libraries/libsystemtap { }; + libgtop = callPackage ../development/libraries/libgtop {}; libLAS = callPackage ../development/libraries/libLAS { }; |