mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #134266 from jbcrail/linuxPackages.ply-2.1.1
linuxPackages.ply: 1.0.beta1-9e810b1 -> 2.1.1
This commit is contained in:
commit
c00ca66d7a
@ -1,19 +1,16 @@
|
||||
{ lib, stdenv, kernel, fetchFromGitHub, autoreconfHook, bison, flex, p7zip, rsync }:
|
||||
|
||||
assert kernel != null -> lib.versionAtLeast kernel.version "4.0";
|
||||
|
||||
let
|
||||
version = "1.0.beta1-9e810b1";
|
||||
in stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ply";
|
||||
inherit version;
|
||||
version = "2.1.1-${lib.substring 0 7 src.rev}";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook flex bison p7zip rsync ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iovisor";
|
||||
repo = "ply";
|
||||
rev = "9e810b157ba079c32c430a7d4c6034826982056e";
|
||||
sha256 = "15cp6iczawaqlhsa0af6i37zn5iq53kh6ya8s2hzd018yd7mhg50";
|
||||
rev = "e25c9134b856cc7ffe9f562ff95caf9487d16b59";
|
||||
sha256 = "1178z7vvnjwnlxc98g2962v16878dy7bd0b2njsgn4vqgrnia7i5";
|
||||
};
|
||||
|
||||
preAutoreconf = ''
|
||||
@ -34,9 +31,10 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "dynamic Tracing in Linux";
|
||||
description = "Dynamic tracing in Linux";
|
||||
homepage = "https://wkz.github.io/ply/";
|
||||
license = [ licenses.gpl2 ];
|
||||
license = [ licenses.gpl2Only ];
|
||||
maintainers = with maintainers; [ mic92 mbbx6spp ];
|
||||
broken = lib.versionOlder kernel.version "4.0";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user