17 lines
513 B
Nix
17 lines
513 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, ... }:
|
|
depot.third_party.buildGo.external {
|
|
path = "github.com/prometheus/procfs";
|
|
src = depot.third_party.nixpkgs.fetchFromGitHub {
|
|
owner = "prometheus";
|
|
repo = "procfs";
|
|
rev = "910e68572b35da779e4f84cfa5261b0a67532d05";
|
|
hash = "sha256:0qdv4ybjis4hpr8infgv3l4haynnzjx07z8qhcrd1n556ayhl082";
|
|
};
|
|
deps = with depot.third_party; [
|
|
gopkgs."golang.org".x.sys.unix
|
|
];
|
|
}
|