Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "libipt"; 5 version = "2.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "intel"; 9 repo = "libipt"; 10 rev = "v${version}"; 11 sha256 = "sha256-W7Hvc2zkmR6FdPGsymWXtm66BiHLcW9r7mywHjabeLc="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Intel Processor Trace decoder library"; 18 homepage = "https://github.com/intel/libipt"; 19 license = licenses.bsd3; 20 platforms = platforms.unix; 21 maintainers = with maintainers; [ orivej ]; 22 }; 23}