git.iko.soy/typeable/nixpkgs
on master help sign in
pcstat: init at 2017-05-28 (#33643)
commitd5dd7f44131d6d048ab409bcb1305c3d4cece5ce authorAmine Chikhaoui <amine.chikhaoui91@gmail.com> dateMon 12 Mar 2018, 21:51 (9 years ago) parent991e5ca
4 files changed+42
maintainers/maintainer-list.nix+5 pkgs/tools/system/pcstat/default.nix+24 pkgs/tools/system/pcstat/deps.nix+11 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -319,6 +319,11 @@
319319 github = "amiloradovsky";
320320 name = "Andrew Miloradovsky";
321321 };
322+ aminechikhaoui = {
323+ email = "amine.chikhaoui91@gmail.com";
324+ github = "AmineChikhaoui";
325+ name = "Amine Chikhaoui";
326+ };
322327 amorsillo = {
323328 email = "andrew.morsillo@gmail.com";
324329 github = "AndrewMorsillo";
pkgs/tools/system/pcstat/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "pcstat-unstable-${version}";
5+ version = "2017-05-28";
6+
7+ goPackagePath = "github.com/tobert/pcstat";
8+
9+ src = fetchFromGitHub {
10+ rev = "91a7346e5b462a61e876c0574cb1ba331a6a5ac5";
11+ owner = "tobert";
12+ repo = "pcstat";
13+ sha256 = "88853e42d16c05e580af4fb8aa815a84ea0fc43e3a25e19c85e649a5f5a2874c";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ description = "Page Cache stat: get page cache stats for files on Linux.";
20+ homepage = https://github.com/tobert/pcstat;
21+ license = licenses.asl20;
22+ maintainers = with maintainers; [ aminechikhaoui ];
23+ };
24+}
pkgs/tools/system/pcstat/deps.nixnew file+11
@@ -0,0 +1,11 @@
1+[
2+ {
3+ goPackagePath = "golang.org/x/sys";
4+ fetch = {
5+ type = "git";
6+ url = "https://go.googlesource.com/sys";
7+ rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac";
8+ sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04";
9+ };
10+ }
11+]
pkgs/top-level/all-packages.nix+2
@@ -13694,6 +13694,8 @@ with pkgs;
1369413694 config = config.pcmciaUtils.config or null;
1369513695 };
1369613696
13697+ pcstat = callPackage ../tools/system/pcstat { };
13698+
1369713699 perf-tools = callPackage ../os-specific/linux/perf-tools { };
1369813700
1369913701 pipes = callPackage ../misc/screensavers/pipes { };