2021-02-19 19:06:45 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, libaio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "stressapptest";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.0.11";
|
2021-02-19 19:06:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-lZpF7PdUwKnV0ha6xkLvi7XYFZQ4Avy0ltlXxukuWjM=";
|
2021-02-19 19:06:45 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
libaio
|
|
|
|
];
|
2021-02-19 19:06:45 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Userspace memory and IO stress test tool";
|
|
|
|
homepage = "https://github.com/stressapptest/stressapptest";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/stressapptest/stressapptest/releases/tag/v${version}";
|
2021-02-19 19:06:45 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2021-02-19 19:06:45 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|