2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libaio }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "blktrace-1.2.0";
|
|
|
|
|
|
|
|
# Official source
|
|
|
|
# "git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git"
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://brick.kernel.dk/snaps/blktrace-1.2.0.tar.bz2";
|
|
|
|
sha256 = "0i9z7ayh9qx4wi0ihyz15bhr1c9aknjl8v5i8c9mx3rhyy41i5i6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libaio ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed s,/usr/local,$out, -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Block layer IO tracing mechanism";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|