pkgs: remove woodpecker-plugin-git
I have now upstreamed the package, so let's remove it.
This commit is contained in:
parent
868a9aa212
commit
58a94bdf1b
|
@ -33,7 +33,7 @@ in
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
ambroisie.woodpecker-plugin-git
|
woodpecker-plugin-git
|
||||||
bash
|
bash
|
||||||
coreutils
|
coreutils
|
||||||
git
|
git
|
||||||
|
|
|
@ -44,7 +44,5 @@ pkgs.lib.makeScope pkgs.newScope (pkgs: {
|
||||||
|
|
||||||
woodpecker-frontend = pkgs.callPackage ./woodpecker/frontend.nix { };
|
woodpecker-frontend = pkgs.callPackage ./woodpecker/frontend.nix { };
|
||||||
|
|
||||||
woodpecker-plugin-git = pkgs.callPackage ./woodpecker-plugin-git { };
|
|
||||||
|
|
||||||
woodpecker-server = pkgs.callPackage ./woodpecker/server.nix { };
|
woodpecker-server = pkgs.callPackage ./woodpecker/server.nix { };
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "woodpecker-plugin-git";
|
|
||||||
version = "2.0.3";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "woodpecker-ci";
|
|
||||||
repo = "plugin-git";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-KU/A3V7KS8R1nAZoJJwkDc9C8y3t148kUzGnkeYtFjs=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = "sha256-63Ly/9yIJu2K/DwOfGs9pYU3fokbs2senZkl3MJ1UIY=";
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/woodpecker-ci/plugin-git/pull/67
|
|
||||||
(fetchpatch {
|
|
||||||
name = "do-not-overwrite-command-env.patch";
|
|
||||||
url = "https://github.com/woodpecker-ci/plugin-git/commit/970cc63a9b212872deac565c6292feb3f4cf4b51.patch";
|
|
||||||
hash = "sha256-izu0X7j+OyNbrOkksf+7VF3KiKVylVv2o00xaX/b1Rg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
CGO_ENABLED = "0";
|
|
||||||
|
|
||||||
# Checks fail because they require network access.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Woodpecker plugin for cloning Git repositories.";
|
|
||||||
homepage = "https://woodpecker-ci.org/";
|
|
||||||
license = licenses.asl20;
|
|
||||||
mainProgram = "pluging-git";
|
|
||||||
maintainers = with maintainers; [ thehedgeh0g ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue