about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/cn/cntb/package.nix
blob: 24b3193089196ae9cae3d61863b6fe1119560d7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ buildGoModule
, lib
, fetchFromGitHub
}: buildGoModule rec {
  pname = "cntb";
  version = "1.4.8";

  src = fetchFromGitHub {
    owner = "contabo";
    repo = "cntb";
    rev = version;
    hash = "sha256-Cj1PO82JeztThFAHR4/8UyqKrodgxBqVDMDsun3iGDo=";
  };

  subPackages = [ "." ];

  vendorHash = "sha256-4PhLUUtlnRh2dKkeVD7rZDDVP0eTDVAohvLLftQxQyE=";

  meta = with lib; {
    description = "CLI tool for managing your products from Contabo like VPS and VDS";
    mainProgram = "cntb";
    homepage = "https://github.com/contabo/cntb";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ aciceri ];
  };
}