nixpkgs-suyu/pkgs/development/libraries/libipt/default.nix
2023-10-12 20:32:20 +00:00

23 lines
555 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libipt";
version = "2.1";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
sha256 = "sha256-SLCuNTFRGFh0mTv1xLCIDg7b6DbWCxgHhrCoPu9xpmw=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Intel Processor Trace decoder library";
homepage = "https://github.com/intel/libipt";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ orivej ];
};
}