about summary refs log tree commit diff
path: root/pkgs/by-name/cn
diff options
context:
space:
mode:
authorAndrea Ciceri <andrea.ciceri@autistici.org>2024-02-27 12:54:36 +0100
committerAndrea Ciceri <andrea.ciceri@autistici.org>2024-02-27 13:02:28 +0100
commit799100a30ee705b69460cb58c9d483191793415f (patch)
tree5ecd107a826047a7f626651546c88e27c9c9253b /pkgs/by-name/cn
parent39412c01a104cbc7a12a51a5b9de074d1f7b44a9 (diff)
cntb: 1.4.6 -> 1.4.8
Diffstat (limited to 'pkgs/by-name/cn')
-rw-r--r--pkgs/by-name/cn/cntb/package.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/by-name/cn/cntb/package.nix b/pkgs/by-name/cn/cntb/package.nix
index 78e5f16f303c8..98364e8f9a88e 100644
--- a/pkgs/by-name/cn/cntb/package.nix
+++ b/pkgs/by-name/cn/cntb/package.nix
@@ -3,23 +3,18 @@
 , fetchFromGitHub
 }: buildGoModule rec {
   pname = "cntb";
-  version = "1.4.6";
+  version = "1.4.8";
 
   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
-    '';
+    rev = version;
+    hash = "sha256-Cj1PO82JeztThFAHR4/8UyqKrodgxBqVDMDsun3iGDo=";
   };
 
   subPackages = [ "." ];
 
-  vendorHash = "sha256-++y2C3jYuGZ0ovRFoxeqnx7S9EwoOZBJ5zxeLGWjkqc=";
+  vendorHash = "sha256-4PhLUUtlnRh2dKkeVD7rZDDVP0eTDVAohvLLftQxQyE=";
 
   meta = with lib; {
     description = "CLI tool for managing your products from Contabo like VPS and VDS";