From 6a83951e8a77cab1db686a3c8a5b7836d1f46736 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Tue, 11 Jun 2024 11:30:13 +0200 Subject: [PATCH 1/2] =?UTF-8?q?woodpecker-pipeline-transform:=200.1.1=20?= =?UTF-8?q?=E2=86=92=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../woodpecker-pipeline-transform/default.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix b/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix index af05fafea40b..eee03a11d923 100644 --- a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix +++ b/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix @@ -1,23 +1,31 @@ -{ lib, buildGoModule, fetchFromGitea }: +{ + lib, + buildGoModule, + fetchFromGitea, +}: buildGoModule rec { pname = "woodpecker-pipeline-transform"; - version = "0.1.1"; + version = "0.2.0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "lafriks"; repo = "woodpecker-pipeline-transform"; rev = "v${version}"; - sha256 = "sha256-tWDMbOkajZ3BB32Vl630EZrY+Owm72MD2Z2JjMucVkI="; + sha256 = "sha256-ngtpWjbL/ccmKTNQdL3osduELYSxcOu5z5UtqclNNSY="; }; - vendorHash = "sha256-qKzGALMagf6QHeLdABfNGG4f/3K/F6CjVYjOJtyTNoM="; + vendorHash = "sha256-SZxFsn187UWZqaxwMDdzAmfpRLZSCIpbsAI1mAu7Z6w="; - meta = with lib; { + meta = { description = "Utility to convert different pipelines to Woodpecker CI pipelines"; + changelog = "https://codeberg.org/lafriks/woodpecker-pipeline-transform/src/tag/v${version}"; homepage = "https://codeberg.org/lafriks/woodpecker-pipeline-transform"; - license = licenses.mit; + license = lib.licenses.mit; mainProgram = "pipeline-convert"; - maintainers = with maintainers; [ ambroisie ]; + maintainers = with lib.maintainers; [ + ambroisie + luftmensch-luftmensch + ]; }; } From d488acce882e18b6e846797a252b0d11d0cc9597 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Tue, 11 Jun 2024 11:34:11 +0200 Subject: [PATCH 2/2] woodpecker-pipeline-transform: move to pkgs/by-name --- .../wo/woodpecker-pipeline-transform/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix => by-name/wo/woodpecker-pipeline-transform/package.nix} (100%) diff --git a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix b/pkgs/by-name/wo/woodpecker-pipeline-transform/package.nix similarity index 100% rename from pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix rename to pkgs/by-name/wo/woodpecker-pipeline-transform/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1ebe974ef93..79cdaf330d5c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14240,8 +14240,6 @@ with pkgs; woodpecker-cli = callPackage ../development/tools/continuous-integration/woodpecker/cli.nix { }; - woodpecker-pipeline-transform = callPackage ../development/tools/continuous-integration/woodpecker-pipeline-transform { }; - woodpecker-plugin-git = callPackage ../development/tools/continuous-integration/woodpecker-plugin-git { }; woodpecker-server = callPackage ../development/tools/continuous-integration/woodpecker/server.nix { };