2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pcstat";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-03-05 16:20:37 +00:00
|
|
|
owner = "tobert";
|
|
|
|
repo = "pcstat";
|
|
|
|
rev = "v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-e8fQZEfsS5dATPgshJktfKVTdZ9CvN1CttYipMjpGNM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
vendorHash = "sha256-fdfiHTE8lySfyiKKiYJsQNCY6MBfjaVYSIZXtofIz3E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Page Cache stat: get page cache stats for files on Linux";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/tobert/pcstat";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ aminechikhaoui ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pcstat";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|