nixpkgs/pkgs/tools/misc/vmtouch/default.nix

27 lines
740 B
Nix
Raw Normal View History

2015-03-10 17:53:00 +00:00
{stdenv, fetchFromGitHub, perl}:
stdenv.mkDerivation rec {
pname = "vmtouch";
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}";
sha256 = "08da6apzfkfjwasn4dxrlfxqfx7arl28apdzac5nvm0fhvws0dxk";
2015-03-10 17:53:00 +00:00
};
buildInputs = [perl];
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.";
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;
};
}