Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 586 B view raw
1{ 2 cmake, 3 fetchFromGitHub, 4 lib, 5 stdenv, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "pcm"; 10 version = "202502"; 11 12 src = fetchFromGitHub { 13 owner = "intel"; 14 repo = "pcm"; 15 rev = version; 16 hash = "sha256-U6V3LX+JlVL9MRFBP3xpYwPQ6Y7pnJ4F/7dpKG3Eyuw="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 enableParallelBuilding = true; 21 22 meta = with lib; { 23 description = "Processor counter monitor"; 24 homepage = "https://www.intel.com/software/pcm"; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ roosemberth ]; 27 platforms = [ "x86_64-linux" ]; 28 }; 29}