Merge pull request #161341 from nagy/pcstat-2021

pcstat: 2017-05-28 -> 0.0.1
This commit is contained in:
Renaud 2022-02-28 16:20:51 +01:00 committed by GitHub
commit 1516a6bfed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 22 deletions

View File

@ -1,19 +1,17 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage {
pname = "pcstat-unstable";
version = "2017-05-28";
goPackagePath = "github.com/tobert/pcstat";
buildGoModule rec {
pname = "pcstat";
version = "0.0.1";
src = fetchFromGitHub {
rev = "91a7346e5b462a61e876c0574cb1ba331a6a5ac5";
owner = "tobert";
repo = "pcstat";
sha256 = "88853e42d16c05e580af4fb8aa815a84ea0fc43e3a25e19c85e649a5f5a2874c";
owner = "tobert";
repo = "pcstat";
rev = "v${version}";
sha256 = "sha256-rN6oqhvrzMBhwNLm8+r4rZWZYZUhOq2h764KVhSycNo=";
};
goDeps = ./deps.nix;
vendorSha256 = "sha256-1y6rzarkFNX8G4E9FzCLfWxULbdNYK3DeelNCJ+7Y9Q=";
meta = with lib; {
description = "Page Cache stat: get page cache stats for files on Linux";

View File

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