nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{stdenv, fetchFromGitHub, perl}:
2
3stdenv.mkDerivation rec {
4 pname = "vmtouch";
5 version = "1.1.0";
6 name = "${pname}-git-${version}";
7
8 src = fetchFromGitHub {
9 owner = "hoytech";
10 repo = "vmtouch";
11 rev = "v${version}";
12 sha256 = "1cr8bw3favdvc3kc05n1r7f5fibqqv54bn3z2jwj70br8s5g0qx0";
13 };
14
15 buildInputs = [perl];
16
17 makeFlags = "PREFIX=$(out)";
18
19 meta = {
20 description = "Portable file system cache diagnostics and control";
21 longDescription = "vmtouch is a tool for learning about and controlling the file system cache of unix and unix-like systems.";
22 homepage = "http://hoytech.com/vmtouch/";
23 license = stdenv.lib.licenses.bsd3;
24 maintainers = [ stdenv.lib.maintainers.garrison ];
25 platforms = stdenv.lib.platforms.all;
26 };
27}