Merge pull request #176928 from Liberatys/feature/add-semaphore-cli

sem: init at 0.28.1
This commit is contained in:
Ryan Mulligan 2023-05-23 06:28:51 -07:00 committed by GitHub
commit eafce31182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

View file

@ -9012,6 +9012,12 @@
githubId = 1769386; githubId = 1769386;
name = "Liam Diprose"; name = "Liam Diprose";
}; };
liberatys = {
email = "liberatys@hey.com";
name = "Nick Anthony Flueckiger";
github = "liberatys";
githubId = 35100156;
};
libjared = { libjared = {
email = "jared@perrycode.com"; email = "jared@perrycode.com";
github = "libjared"; github = "libjared";

View file

@ -0,0 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "sem";
version = "0.28.1";
src = fetchFromGitHub {
owner = "semaphoreci";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-pyin05mPIAq5dJebLehsCYDaIf5eGCcGzF5uz8egJV8=";
};
vendorSha256 = "sha256-kuLN3r6CGL/fGQ5ggSLZWNC4AVvvGn6znTFGqkS4AXg=";
subPackages = [ "." ];
ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
postInstall = ''
install -m755 $out/bin/cli $out/bin/sem
'';
meta = with lib; {
description = "A cli to operate on semaphore ci (2.0)";
homepage = "https://github.com/semaphoreci/cli";
changelog = "https://github.com/semaphoreci/cli/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ liberatys ];
platforms = platforms.linux;
};
}

View file

@ -19170,6 +19170,8 @@ with pkgs;
selendroid = callPackage ../development/tools/selenium/selendroid { }; selendroid = callPackage ../development/tools/selenium/selendroid { };
sem = callPackage ../development/tools/sem { };
semver-tool = callPackage ../development/tools/misc/semver-tool { }; semver-tool = callPackage ../development/tools/misc/semver-tool { };
semantik = libsForQt5.callPackage ../applications/office/semantik { }; semantik = libsForQt5.callPackage ../applications/office/semantik { };