nixpkgs/pkgs/by-name/cn/cntb/package.nix

27 lines
632 B
Nix
Raw Normal View History

2023-09-18 12:13:13 +02:00
{ buildGoModule
, lib
, fetchFromGitHub
}: buildGoModule rec {
pname = "cntb";
2024-02-27 12:54:36 +01:00
version = "1.4.8";
2023-09-18 12:13:13 +02:00
src = fetchFromGitHub {
owner = "contabo";
repo = "cntb";
2024-02-27 12:54:36 +01:00
rev = version;
hash = "sha256-Cj1PO82JeztThFAHR4/8UyqKrodgxBqVDMDsun3iGDo=";
2023-09-18 12:13:13 +02:00
};
subPackages = [ "." ];
2024-02-27 12:54:36 +01:00
vendorHash = "sha256-4PhLUUtlnRh2dKkeVD7rZDDVP0eTDVAohvLLftQxQyE=";
2023-09-18 12:13:13 +02:00
meta = with lib; {
description = "CLI tool for managing your products from Contabo like VPS and VDS";
mainProgram = "cntb";
2023-09-18 12:13:13 +02:00
homepage = "https://github.com/contabo/cntb";
license = licenses.gpl3Only;
maintainers = with maintainers; [ aciceri ];
};
}