mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #176928 from Liberatys/feature/add-semaphore-cli
sem: init at 0.28.1
This commit is contained in:
commit
eafce31182
3 changed files with 39 additions and 0 deletions
|
@ -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";
|
||||||
|
|
31
pkgs/development/tools/sem/default.nix
Normal file
31
pkgs/development/tools/sem/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue