lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 26 lines 649 B view raw
1{ stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation rec { 4 name = "msr-tools-${version}"; 5 version = "1.3"; 6 7 src = fetchurl { 8 url = "https://01.org/sites/default/files/downloads/msr-tools/${name}.zip"; 9 sha256 = "07hxmddg0l31kjfmaq84ni142lbbvgq6391r8bd79wpm819pnigr"; 10 }; 11 12 buildInputs = [ unzip ]; 13 14 preInstall = '' 15 mkdir -p $out/bin 16 substituteInPlace Makefile \ 17 --replace /usr/sbin $out/bin 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Tool to read/write from/to MSR CPU registers on Linux"; 22 license = licenses.gpl2; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ peterhoeg ]; 25 }; 26}