lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 45 lines 961 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 testers, 6 nix-update-script, 7 acr-cli, 8}: 9buildGoModule rec { 10 pname = "acr-cli"; 11 version = "0.16"; 12 13 src = fetchFromGitHub { 14 owner = "Azure"; 15 repo = "acr-cli"; 16 tag = "v${version}"; 17 hash = "sha256-H802VfEy3+bi6VB6z+FyMIFOazHh67mp3/9GuxcU/CU="; 18 }; 19 20 vendorHash = null; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 "-X=github.com/Azure/acr-cli/version.Version=${version}" 26 "-X=github.com/Azure/acr-cli/version.Revision=${src.rev}" 27 ]; 28 29 executable = [ "acr" ]; 30 31 passthru.tests.version = testers.testVersion { 32 package = acr-cli; 33 command = "acr version"; 34 }; 35 36 passthru.updateScript = nix-update-script { }; 37 38 meta = { 39 description = "Command Line Tool for interacting with Azure Container Registry Images"; 40 homepage = "https://github.com/Azure/acr-cli"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ hausken ]; 43 mainProgram = "acr-cli"; 44 }; 45}