core/pkgs/by-name/li/libipt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
566 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "libipt";
version = "2.1.1";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
sha256 = "sha256-tyOheitSlccf/n3mklGL2oAKLBKYT60LSLre9/G/b9Q=";
};
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 ];
};
}