pcstat: init at 2017-05-28 (#33643)

This commit is contained in:
Amine Chikhaoui 2018-03-12 21:51:38 +00:00 committed by Franz Pletz
parent 991e5ca486
commit d5dd7f4413
4 changed files with 42 additions and 0 deletions

View File

@ -319,6 +319,11 @@
github = "amiloradovsky";
name = "Andrew Miloradovsky";
};
aminechikhaoui = {
email = "amine.chikhaoui91@gmail.com";
github = "AmineChikhaoui";
name = "Amine Chikhaoui";
};
amorsillo = {
email = "andrew.morsillo@gmail.com";
github = "AndrewMorsillo";

View File

@ -0,0 +1,24 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "pcstat-unstable-${version}";
version = "2017-05-28";
goPackagePath = "github.com/tobert/pcstat";
src = fetchFromGitHub {
rev = "91a7346e5b462a61e876c0574cb1ba331a6a5ac5";
owner = "tobert";
repo = "pcstat";
sha256 = "88853e42d16c05e580af4fb8aa815a84ea0fc43e3a25e19c85e649a5f5a2874c";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Page Cache stat: get page cache stats for files on Linux.";
homepage = https://github.com/tobert/pcstat;
license = licenses.asl20;
maintainers = with maintainers; [ aminechikhaoui ];
};
}

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac";
sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04";
};
}
]

View File

@ -13694,6 +13694,8 @@ with pkgs;
config = config.pcmciaUtils.config or null;
};
pcstat = callPackage ../tools/system/pcstat { };
perf-tools = callPackage ../os-specific/linux/perf-tools { };
pipes = callPackage ../misc/screensavers/pipes { };