nixpkgs/pkgs/development/tools/misc/lttng-ust/default.nix
Ryan Mulligan 397077c1e9 lttng-ust: 2.10.0 -> 2.10.1
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/lf189bg3wyp8bbiw6kqwlvhm3yc4wdgq-lttng-ust-2.10.1/bin/lttng-gen-tp -h` got 0 exit code
- ran `/nix/store/lf189bg3wyp8bbiw6kqwlvhm3yc4wdgq-lttng-ust-2.10.1/bin/lttng-gen-tp --help` got 0 exit code
- ran `/nix/store/lf189bg3wyp8bbiw6kqwlvhm3yc4wdgq-lttng-ust-2.10.1/bin/lttng-gen-tp help` got 0 exit code
- found 2.10.1 with grep in /nix/store/lf189bg3wyp8bbiw6kqwlvhm3yc4wdgq-lttng-ust-2.10.1
- found 2.10.1 in filename of file in /nix/store/lf189bg3wyp8bbiw6kqwlvhm3yc4wdgq-lttng-ust-2.10.1

cc "@bjornfor"
2018-02-26 22:03:04 -08:00

39 lines
848 B
Nix

{ stdenv, fetchurl, liburcu, python }:
# NOTE:
# ./configure ...
# [...]
# LTTng-UST will be built with the following options:
#
# Java support (JNI): Disabled
# sdt.h integration: Disabled
# [...]
#
# Debian builds with std.h (systemtap).
stdenv.mkDerivation rec {
name = "lttng-ust-${version}";
version = "2.10.1";
src = fetchurl {
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
sha256 = "17gfi1dn6bgg59qn4ihf8hag96lalx0g7dym2ccpzdz7f45krk07";
};
buildInputs = [ python ];
preConfigure = ''
patchShebangs .
'';
propagatedBuildInputs = [ liburcu ];
meta = with stdenv.lib; {
description = "LTTng Userspace Tracer libraries";
homepage = http://lttng.org/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}