at 23.11-beta 27 lines 661 B view raw
1{ lib, stdenv, fetchurl, libaio }: 2 3stdenv.mkDerivation rec { 4 pname = "blktrace"; 5 version = "1.3.0"; 6 7 # Official source 8 # "https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git" 9 src = fetchurl { 10 url = "https://brick.kernel.dk/snaps/blktrace-${version}.tar.bz2"; 11 sha256 = "sha256-1t7aA4Yt4r0bG5+6cpu7hi2bynleaqf3yoa2VoEacNY="; 12 }; 13 14 buildInputs = [ libaio ]; 15 16 makeFlags = [ 17 "prefix=${placeholder "out"}" 18 "CC:=$(CC)" 19 ]; 20 21 meta = with lib; { 22 description = "Block layer IO tracing mechanism"; 23 maintainers = with maintainers; [ nickcao ]; 24 license = licenses.gpl2Plus; 25 platforms = platforms.linux; 26 }; 27}