3
0
Fork 0
forked from mirrors/nixpkgs

linuxPackages.lttng-modules: 2.10.5 -> 2.12.6

This commit is contained in:
fortuneteller2k 2021-06-05 21:53:12 +08:00 committed by Jonathan Ringer
parent 26a88ecce8
commit b06a0d409e

View file

@ -1,13 +1,12 @@
{ lib, stdenv, fetchurl, kernel }:
stdenv.mkDerivation rec {
pname = "lttng-modules-${version}";
name = "${pname}-${kernel.version}";
version = "2.10.5";
pname = "lttng-modules-${kernel.version}";
version = "2.12.6";
src = fetchurl {
url = "https://lttng.org/files/lttng-modules/lttng-modules-${version}.tar.bz2";
sha256 = "07rs01zwr4bmjamplix5qz1c6mb6wdawb68vyn0w6wx68ppbpnxq";
sha256 = "sha256-lawqLPkthdI/+9rKah7A18FnIR0eD7hQq5AASj9HXqo=";
};
buildInputs = kernel.moduleBuildDependencies;
@ -28,11 +27,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Linux kernel modules for LTTng tracing";
homepage = "https://lttng.org/";
license = with licenses; [ lgpl21 gpl2 mit ];
license = with licenses; [ lgpl21Only gpl2Only mit ];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
broken = builtins.compareVersions kernel.version "3.18" == -1
|| builtins.compareVersions kernel.version "4.16" == 1;
};
}