2015-03-10 17:53:00 +00:00
|
|
|
{stdenv, fetchFromGitHub, perl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vmtouch";
|
2018-02-28 02:47:04 +00:00
|
|
|
version = "1.3.0";
|
2015-12-12 19:46:43 +00:00
|
|
|
name = "${pname}-git-${version}";
|
2015-03-10 17:53:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hoytech";
|
|
|
|
repo = "vmtouch";
|
2016-08-21 07:20:12 +01:00
|
|
|
rev = "v${version}";
|
2018-02-28 02:47:04 +00:00
|
|
|
sha256 = "0xpigfpwidk25k605y2m2g1952nzl5fgp0wn65hhn7hbra7srglf";
|
2015-03-10 17:53:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
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.";
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://hoytech.com/vmtouch/;
|
2015-03-10 17:53:00 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garrison ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|