depot/pkgs/by-name/ku/kubectl-df-pv/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
738 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "kubectl-df-pv";
version = "0.3.0";
src = fetchFromGitHub {
owner = "yashbhutwala";
repo = "kubectl-df-pv";
rev = "v${version}";
hash = "sha256-FxKqkxLMNfCXuahKTMod6kWKZ/ucYeIEFcS8BmpbLWg=";
};
vendorHash = "sha256-YkDPgN7jBvYveiyU8N+3Ia52SEmlzC0TGBQjUuIAaw0=";
meta = {
description = "df (disk free)-like utility for persistent volumes on kubernetes";
mainProgram = "df-pv";
homepage = "https://github.com/yashbhutwala/kubectl-df-pv";
changelog = "https://github.com/yashbhutwala/kubectl-df-pv/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jemand771 ];
};
}