nixpkgs/pkgs/development/libraries/libipt/default.nix

24 lines
558 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2019-09-10 23:04:12 +02:00
stdenv.mkDerivation rec {
pname = "libipt";
2020-11-03 01:19:13 +01:00
version = "2.0.3";
2019-09-10 23:04:12 +02:00
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
2020-11-03 01:19:13 +01:00
sha256 = "1i6jmv345rqd88qmap6iqbaph4pkd6wbjgkixf22a80pj7cfm1s4";
2019-09-10 23:04:12 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-09-10 23:04:12 +02:00
description = "Intel Processor Trace decoder library";
homepage = "https://github.com/intel/libipt";
2019-09-10 23:04:12 +02:00
license = licenses.bsd3;
platforms = platforms.unix;
2019-09-10 23:08:18 +02:00
maintainers = with maintainers; [ orivej ];
2019-09-10 23:04:12 +02:00
};
}