summary refs log blame commit diff
path: root/pkgs/development/libraries/libipt/default.nix
blob: 15a677b3188c45b73d92fe56ec2eadf66692ea90 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                        


                         
                    




                         
                                                                   



                                
                    
                                                          
                                                 
                            
                               
                                               

    
{ 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 ];
  };
}