Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 991e5ca48654
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d5dd7f44131d
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Mar 12, 2018

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

    AmineChikhaoui authored and fpletz committed Mar 12, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    shlevy Shea Levy
    Copy the full SHA
    d5dd7f4 View commit details
Showing with 42 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +24 −0 pkgs/tools/system/pcstat/default.nix
  3. +11 −0 pkgs/tools/system/pcstat/deps.nix
  4. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 24 additions & 0 deletions pkgs/tools/system/pcstat/default.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 11 additions & 0 deletions pkgs/tools/system/pcstat/deps.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac";
sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04";
};
}
]
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };