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

28 lines
778 B
Nix
Raw Normal View History

2015-03-10 17:53:00 +00:00
{stdenv, fetchFromGitHub, perl}:
stdenv.mkDerivation rec {
pname = "vmtouch";
2015-12-12 19:46:43 +00:00
version = "1.0.2";
name = "${pname}-git-${version}";
2015-03-10 17:53:00 +00:00
src = fetchFromGitHub {
owner = "hoytech";
repo = "vmtouch";
2015-12-12 19:46:43 +00:00
rev = "vmtouch-${version}";
sha256 = "0m4s1am1r3qp8si3rnc8j2qc7sbf1k3gxvxr6fnpbf8fcfhh6cay";
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.";
2015-12-12 19:46:43 +00:00
homepage = "http://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;
};
}