blob: c2b528710cf3ed219bf1a583935e44f07f8164a8 (
plain)
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
27
28
29
30
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "bitbucket-cli";
version = "1.0.0";
src = fetchFromGitHub {
owner = "swisscom";
repo = "bitbucket-cli";
rev = "v${finalAttrs.version}";
hash = "sha256-8Qvlv/S5IkRk+2D/Pnb0+FP7ryHh1kSRJCiUjSO0OtI=";
};
vendorHash = "sha256-xjCY3Ycz5Ty6jTDHNNUWYp2SP8EPhDiwO7+WJBL3lAQ=";
# Tests seem to be using Swisscom's live servers.
doCheck = false;
meta = {
description = "Bitbucket Enterprise CLI";
homepage = "https://github.com/swisscom/bitbucket-cli";
mainProgram = "bitbucket-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ attila ];
platforms = with lib.platforms; linux ++ darwin;
};
})
|