mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 16:57:40 +03:00
Merge pull request #161341 from nagy/pcstat-2021
pcstat: 2017-05-28 -> 0.0.1
This commit is contained in:
commit
1516a6bfed
@ -1,19 +1,17 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage {
|
buildGoModule rec {
|
||||||
pname = "pcstat-unstable";
|
pname = "pcstat";
|
||||||
version = "2017-05-28";
|
version = "0.0.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/tobert/pcstat";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "91a7346e5b462a61e876c0574cb1ba331a6a5ac5";
|
owner = "tobert";
|
||||||
owner = "tobert";
|
repo = "pcstat";
|
||||||
repo = "pcstat";
|
rev = "v${version}";
|
||||||
sha256 = "88853e42d16c05e580af4fb8aa815a84ea0fc43e3a25e19c85e649a5f5a2874c";
|
sha256 = "sha256-rN6oqhvrzMBhwNLm8+r4rZWZYZUhOq2h764KVhSycNo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
vendorSha256 = "sha256-1y6rzarkFNX8G4E9FzCLfWxULbdNYK3DeelNCJ+7Y9Q=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Page Cache stat: get page cache stats for files on Linux";
|
description = "Page Cache stat: get page cache stats for files on Linux";
|
||||||
|
11
pkgs/tools/system/pcstat/deps.nix
generated
11
pkgs/tools/system/pcstat/deps.nix
generated
@ -1,11 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
goPackagePath = "golang.org/x/sys";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://go.googlesource.com/sys";
|
|
||||||
rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac";
|
|
||||||
sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user