nixpkgs-suyu/pkgs/tools/system/stressapptest/default.nix
2021-02-17 23:11:59 +01:00

27 lines
589 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libaio
}:
stdenv.mkDerivation rec {
pname = "stressapptest";
version = "1.0.9";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1qzj6h6adx042rb9aiz916jna269whibvj5ys4p5nwdp17fqh922";
};
buildInputs = [ libaio ];
meta = with lib; {
description = "Userspace memory and IO stress test tool";
homepage = "https://github.com/stressapptest/stressapptest";
license = with licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
platforms = platforms.unix;
};
}