diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a2f0ae96dade..abc47e6beb68 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -111,6 +111,11 @@ github = "Profpatsch"; name = "Profpatsch"; }; + roosemberth = { + email = "roosembert.palacios+nixpkgs@gmail.com"; + github = "roosemberth"; + name = "Roosembert (Roosemberth) Palacios"; + }; SShrike = { email = "severen@shrike.me"; github = "severen"; diff --git a/pkgs/os-specific/linux/pcm/default.nix b/pkgs/os-specific/linux/pcm/default.nix new file mode 100644 index 000000000000..43810210a88b --- /dev/null +++ b/pkgs/os-specific/linux/pcm/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + version = "201710"; + name = "pcm-${version}"; + + src = fetchFromGitHub { + owner = "opcm"; + repo = "pcm"; + rev = "${version}"; + sha256 = "02rq8739zwwbfrhagvcgf6qpmnswxl9b0qsld26rg6zp91v2npbj"; + }; + + installPhase = '' + mkdir -p $out/bin + cp pcm*.x $out/bin + ''; + + meta = with stdenv.lib; { + description = "Processor counter monitor"; + homepage = https://www.intel.com/software/pcm; + license = licenses.bsd3; + maintainers = with maintainers; [ roosemberth ]; + platforms = [ "x86_64-linux" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e501b1d92069..dca7d36ae6d8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13101,6 +13101,8 @@ with pkgs; i7z = callPackage ../os-specific/linux/i7z { }; + pcm = callPackage ../os-specific/linux/pcm { }; + ima-evm-utils = callPackage ../os-specific/linux/ima-evm-utils { }; intel2200BGFirmware = callPackage ../os-specific/linux/firmware/intel2200BGFirmware { };