Merge pull request #26583 from mbbx6spp/init-ply-package

ply: init at v1-beta1(9e810b1)
This commit is contained in:
Jörg Thalheim 2017-06-16 23:21:23 +01:00 committed by GitHub
commit c4037ee92b
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, kernel, fetchFromGitHub, autoreconfHook, yacc, flex, bison }:
let
version = "1.0.beta1-9e810b1";
in stdenv.mkDerivation {
name = "ply-${version}";
nativeBuildInputs = [ autoreconfHook flex yacc ];
src = fetchFromGitHub {
owner = "iovisor";
repo = "ply";
rev = "9e810b157ba079c32c430a7d4c6034826982056e";
sha256 = "15cp6iczawaqlhsa0af6i37zn5iq53kh6ya8s2hzd018yd7mhg50";
};
preAutoreconf = ''
# ply wants to install header fails to its build directory
xz -d < ${kernel.src} | tar -xf -
configureFlagsArray+=(--with-kerneldir=$(echo $(pwd)/linux-*))
./autogen.sh --prefix=$out
'';
meta = with stdenv.lib; {
description = "dynamic Tracing in Linux";
homepage = https://wkz.github.io/ply/;
license = [ licenses.gpl2 ];
maintainers = with maintainers; [ mic92 mbbx6spp ];
};
}

View File

@ -12010,6 +12010,8 @@ with pkgs;
nvidia_x11_beta = nvidiaPackages.beta;
nvidia_x11 = nvidiaPackages.stable;
ply = callPackage ../os-specific/linux/ply { };
rtl8723bs = callPackage ../os-specific/linux/rtl8723bs { };
rtl8812au = callPackage ../os-specific/linux/rtl8812au { };