mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
276e61f2e0
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/jqmzz76b0s6bchm35ijpyaa9j4x7863g-vmtouch-git-1.3.0/bin/vmtouch help` got 0 exit code - found 1.3.0 with grep in /nix/store/jqmzz76b0s6bchm35ijpyaa9j4x7863g-vmtouch-git-1.3.0 - found 1.3.0 in filename of file in /nix/store/jqmzz76b0s6bchm35ijpyaa9j4x7863g-vmtouch-git-1.3.0 cc "@garrison"
28 lines
770 B
Nix
28 lines
770 B
Nix
{stdenv, fetchFromGitHub, perl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vmtouch";
|
|
version = "1.3.0";
|
|
name = "${pname}-git-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hoytech";
|
|
repo = "vmtouch";
|
|
rev = "v${version}";
|
|
sha256 = "0xpigfpwidk25k605y2m2g1952nzl5fgp0wn65hhn7hbra7srglf";
|
|
};
|
|
|
|
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.";
|
|
homepage = https://hoytech.com/vmtouch/;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
maintainers = [ stdenv.lib.maintainers.garrison ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|