nixpkgs-suyu/pkgs/tools/misc/vmtouch/default.nix
Will Dietz e2cf972dd9 vmtouch: 1.3.0 -> 1.3.1
Also fixup pname/name, and drop '-git-' in the middle of the two.
(missed when moving off git revisions)
2020-01-16 21:38:47 +00:00

26 lines
738 B
Nix

{stdenv, fetchFromGitHub, perl}:
stdenv.mkDerivation rec {
pname = "vmtouch";
version = "1.3.1";
src = fetchFromGitHub {
owner = "hoytech";
repo = "vmtouch";
rev = "v${version}";
sha256 = "08da6apzfkfjwasn4dxrlfxqfx7arl28apdzac5nvm0fhvws0dxk";
};
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;
};
}