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";
|
|
|
|
version = "0.0.1";
|
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}";
|
|
|
|
sha256 = "sha256-rN6oqhvrzMBhwNLm8+r4rZWZYZUhOq2h764KVhSycNo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
vendorSha256 = "sha256-1y6rzarkFNX8G4E9FzCLfWxULbdNYK3DeelNCJ+7Y9Q=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|