forked from mirrors/nixpkgs
linuxPackages.lttng-modules: 2.10.5 -> 2.12.6
This commit is contained in:
parent
26a88ecce8
commit
b06a0d409e
|
@ -1,13 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, kernel }:
|
{ lib, stdenv, fetchurl, kernel }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lttng-modules-${version}";
|
pname = "lttng-modules-${kernel.version}";
|
||||||
name = "${pname}-${kernel.version}";
|
version = "2.12.6";
|
||||||
version = "2.10.5";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://lttng.org/files/lttng-modules/lttng-modules-${version}.tar.bz2";
|
url = "https://lttng.org/files/lttng-modules/lttng-modules-${version}.tar.bz2";
|
||||||
sha256 = "07rs01zwr4bmjamplix5qz1c6mb6wdawb68vyn0w6wx68ppbpnxq";
|
sha256 = "sha256-lawqLPkthdI/+9rKah7A18FnIR0eD7hQq5AASj9HXqo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = kernel.moduleBuildDependencies;
|
buildInputs = kernel.moduleBuildDependencies;
|
||||||
|
@ -28,11 +27,8 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linux kernel modules for LTTng tracing";
|
description = "Linux kernel modules for LTTng tracing";
|
||||||
homepage = "https://lttng.org/";
|
homepage = "https://lttng.org/";
|
||||||
license = with licenses; [ lgpl21 gpl2 mit ];
|
license = with licenses; [ lgpl21Only gpl2Only mit ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
broken = builtins.compareVersions kernel.version "3.18" == -1
|
|
||||||
|| builtins.compareVersions kernel.version "4.16" == 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue