mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
668 B
Nix
31 lines
668 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "vultr";
|
|
version = "2.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JamesClonk";
|
|
repo = "vultr";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
# There are not test files
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Vultr CLI and API client library";
|
|
mainProgram = "vultr";
|
|
homepage = "https://jamesclonk.github.io/vultr";
|
|
changelog = "https://github.com/JamesClonk/vultr/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zauberpony ];
|
|
};
|
|
}
|