mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
b189247ba0
Uses the HTTPS url for cases where the existing URL has a permanent redirect. For each domain, at least one fixed derivation URL was downloaded to test the domain is properly serving downloads. Also fixes jbake source URL, which was broken.
40 lines
849 B
Nix
40 lines
849 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 = https://lttng.org/;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|