Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 731 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6buildGoModule rec { 7 pname = "bitbucket-cli"; 8 version = "1.0.0"; 9 10 src = fetchFromGitHub { 11 owner = "swisscom"; 12 repo = "bitbucket-cli"; 13 rev = "v${version}"; 14 hash = "sha256-8Qvlv/S5IkRk+2D/Pnb0+FP7ryHh1kSRJCiUjSO0OtI="; 15 }; 16 17 vendorHash = "sha256-xjCY3Ycz5Ty6jTDHNNUWYp2SP8EPhDiwO7+WJBL3lAQ="; 18 19 # Tests seem to be using Swisscom's live servers. 20 doCheck = false; 21 22 meta = { 23 description = "Bitbucket Enterprise CLI"; 24 homepage = "https://github.com/swisscom/bitbucket-cli"; 25 mainProgram = "bitbucket-cli"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ attila ]; 28 platforms = with lib.platforms; linux ++ darwin; 29 }; 30}