Commit 63dd9190 authored by Ryan Mulligan's avatar Ryan Mulligan
Browse files

sem: init at 0.28.1



Signed-off-by: default avatarliberatys <liberatys@hey.com>
parent 263d8f7f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8839,6 +8839,12 @@
    githubId = 1769386;
    name = "Liam Diprose";
  };
  liberatys = {
    email = "liberatys@hey.com";
    name = "Nick Anthony Flueckiger";
    github = "liberatys";
    githubId = 35100156;
  };
  libjared = {
    email = "jared@perrycode.com";
    github = "libjared";
+31 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18917,6 +18917,8 @@ with pkgs;
  selendroid = callPackage ../development/tools/selenium/selendroid { };
  sem = callPackage ../development/tools/sem { };
  semver-tool = callPackage ../development/tools/misc/semver-tool { };
  semantik = libsForQt5.callPackage ../applications/office/semantik { };