diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 86bba23542aa..c4fafc03ac00 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9012,6 +9012,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"; diff --git a/pkgs/development/tools/sem/default.nix b/pkgs/development/tools/sem/default.nix new file mode 100644 index 000000000000..177490762722 --- /dev/null +++ b/pkgs/development/tools/sem/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9fe92ffa32d..4f73e5079806 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19170,6 +19170,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 { };