mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 05:17:28 +00:00
cntb: init at 1.4.6
This commit is contained in:
parent
78c95f38a1
commit
044a8a9a5a
30
pkgs/by-name/cn/cntb/package.nix
Normal file
30
pkgs/by-name/cn/cntb/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user