at 22.05-pre 26 lines 641 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 # "git://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 preConfigure = '' 17 sed s,/usr/local,$out, -i Makefile 18 ''; 19 20 meta = with lib; { 21 description = "Block layer IO tracing mechanism"; 22 maintainers = with maintainers; [ ]; 23 license = licenses.gpl2; 24 platforms = platforms.linux; 25 }; 26}