2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, perl}:
|
2015-03-10 17:53:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vmtouch";
|
2020-01-16 17:29:56 +00:00
|
|
|
version = "1.3.1";
|
2015-03-10 17:53:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hoytech";
|
|
|
|
repo = "vmtouch";
|
2016-08-21 06:20:12 +00:00
|
|
|
rev = "v${version}";
|
2020-01-16 17:29:56 +00:00
|
|
|
sha256 = "08da6apzfkfjwasn4dxrlfxqfx7arl28apdzac5nvm0fhvws0dxk";
|
2015-03-10 17:53:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl];
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-03-10 17:53:00 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Portable file system cache diagnostics and control";
|
|
|
|
longDescription = "vmtouch is a tool for learning about and controlling the file system cache of unix and unix-like systems.";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://hoytech.com/vmtouch/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.garrison ];
|
|
|
|
platforms = lib.platforms.all;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "vmtouch";
|
2015-03-10 17:53:00 +00:00
|
|
|
};
|
|
|
|
}
|