Skip to content

Commit

Permalink
cntb: init at 1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aciceri committed Sep 22, 2023
1 parent 92f31b5 commit 9a7569c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/cn/cntb/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ buildGoModule
, lib
, fetchFromGitHub
}: buildGoModule rec {
pname = "cntb";
version = "1.4.6";

src = fetchFromGitHub {
owner = "contabo";
repo = "cntb";
rev = "v${version}";
hash = "sha256-bvWNcEUSSHEk8fwwPdowATGEHIAj+TN8Z+A156sPVtA=";
# docs contains two files with the same name but different cases,
# this leads to a different hash on case insensitive filesystems (e.g. darwin)
postFetch = ''
rm -rf $out/openapi/docs
'';
};

subPackages = [ "." ];

vendorHash = "sha256-++y2C3jYuGZ0ovRFoxeqnx7S9EwoOZBJ5zxeLGWjkqc=";

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

0 comments on commit 9a7569c

Please sign in to comment.