nixpkgs/pkgs/development/libraries/libipt/default.nix
2021-03-20 09:18:50 +01:00

24 lines
557 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libipt";
version = "2.0.4";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
sha256 = "sha256-KhRmRoIHvpx5rV7roCnUH+a7JtPb6UqD41Wi4wHSR1c=";
};
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 ];
};
}