nixpkgs/pkgs/by-name/li/libipt/package.nix

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

25 lines
648 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, freebsd }:
2019-09-10 21:04:12 +00:00
stdenv.mkDerivation rec {
pname = "libipt";
2024-02-28 12:13:34 +00:00
version = "2.1.1";
2019-09-10 21:04:12 +00:00
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
2024-02-28 12:13:34 +00:00
sha256 = "sha256-tyOheitSlccf/n3mklGL2oAKLBKYT60LSLre9/G/b9Q=";
2019-09-10 21:04:12 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD freebsd.libstdthreads;
2019-09-10 21:04:12 +00:00
meta = with lib; {
2019-09-10 21:04:12 +00:00
description = "Intel Processor Trace decoder library";
homepage = "https://github.com/intel/libipt";
2019-09-10 21:04:12 +00:00
license = licenses.bsd3;
platforms = platforms.unix;
2019-09-10 21:08:18 +00:00
maintainers = with maintainers; [ orivej ];
2019-09-10 21:04:12 +00:00
};
}