mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
pcstat: init at 2017-05-28 (#33643)
This commit is contained in:
parent
991e5ca486
commit
d5dd7f4413
@ -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";
|
||||
|
24
pkgs/tools/system/pcstat/default.nix
Normal file
24
pkgs/tools/system/pcstat/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
11
pkgs/tools/system/pcstat/deps.nix
Normal file
11
pkgs/tools/system/pcstat/deps.nix
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac";
|
||||
sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04";
|
||||
};
|
||||
}
|
||||
]
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user