okms-cli: 0.2.1 -> 0.3.5

authored by Aaron Jheng and committed by Anthony Roussel 675df2f5 a29f1e65

+10 -15
+10 -11
pkgs/by-name/ok/okms-cli/package.nix
··· 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6 - okms-cli, 7 testers, 8 }: 9 10 - buildGoModule rec { 11 pname = "okms-cli"; 12 - version = "0.2.1"; 13 14 src = fetchFromGitHub { 15 owner = "ovh"; 16 repo = "okms-cli"; 17 - tag = "v${version}"; 18 - hash = "sha256-inDE/Vexn7efzxfa/ali+mhyioBWjDPRlDznYyChTtI="; 19 }; 20 21 - vendorHash = "sha256-l8Z5cAfWHWz8mBVioltuNg+jaNwySU/Y4z3z2X86h/s="; 22 23 ldflags = [ 24 "-s" 25 "-w" 26 - "-X main.version=${version}" 27 - "-X main.commit=${src.rev}" 28 "-X main.date=unknown" 29 ]; 30 31 passthru = { 32 tests.version = testers.testVersion { 33 - package = okms-cli; 34 command = "okms version"; 35 }; 36 updateScript = nix-update-script { }; ··· 38 39 meta = { 40 homepage = "https://github.com/ovh/okms-cli"; 41 - changelog = "https://github.com/ovh/okms-cli/releases/tag/v${version}"; 42 description = "Command Line Interface to interact with your OVHcloud KMS services"; 43 mainProgram = "okms"; 44 license = lib.licenses.asl20; 45 maintainers = [ lib.maintainers.anthonyroussel ]; 46 }; 47 - }
··· 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6 testers, 7 }: 8 9 + buildGoModule (finalAttrs: { 10 pname = "okms-cli"; 11 + version = "0.3.5"; 12 13 src = fetchFromGitHub { 14 owner = "ovh"; 15 repo = "okms-cli"; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-zYhK2ulFVw7XlhoKrN9JoZg8lUFisfKS/Iez+Ll0eME="; 18 }; 19 20 + vendorHash = "sha256-LFZ4dsWnODHLFc6k7p+Rd3zR0befCSOZLanwUFIWRl0="; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 + "-X main.version=${finalAttrs.version}" 26 + "-X main.commit=${finalAttrs.src.rev}" 27 "-X main.date=unknown" 28 ]; 29 30 passthru = { 31 tests.version = testers.testVersion { 32 + package = finalAttrs.finalPackage; 33 command = "okms version"; 34 }; 35 updateScript = nix-update-script { }; ··· 37 38 meta = { 39 homepage = "https://github.com/ovh/okms-cli"; 40 + changelog = "https://github.com/ovh/okms-cli/releases/tag/v${finalAttrs.version}"; 41 description = "Command Line Interface to interact with your OVHcloud KMS services"; 42 mainProgram = "okms"; 43 license = lib.licenses.asl20; 44 maintainers = [ lib.maintainers.anthonyroussel ]; 45 }; 46 + })
-4
pkgs/top-level/all-packages.nix
··· 13009 obs-studio-plugins = recurseIntoAttrs (callPackage ../applications/video/obs-studio/plugins { }); 13010 wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix { }; 13011 13012 - okms-cli = callPackage ../by-name/ok/okms-cli/package.nix { 13013 - buildGoModule = buildGo123Module; 13014 - }; 13015 - 13016 omegat = callPackage ../applications/misc/omegat.nix { }; 13017 13018 openambit = qt5.callPackage ../applications/misc/openambit { };
··· 13009 obs-studio-plugins = recurseIntoAttrs (callPackage ../applications/video/obs-studio/plugins { }); 13010 wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix { }; 13011 13012 omegat = callPackage ../applications/misc/omegat.nix { }; 13013 13014 openambit = qt5.callPackage ../applications/misc/openambit { };