3
0
Fork 0
forked from mirrors/nixpkgs

pcstat: 2017-05-28 -> 0.0.1

Also switch to buildGoModule.
This commit is contained in:
Daniel Nagy 2022-02-18 16:48:15 +01:00
parent d32ba3f4b0
commit 60779b7677
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671
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";
};
}
]