cleaned up
This commit is contained in:
parent
af2b3eecbb
commit
638c5413e0
|
@ -1,10 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
with import <nixpkgs> {};
|
||||
|
||||
pkgs.buildGoModule rec {
|
||||
buildGoModule rec {
|
||||
pname = "woodpecker-agent";
|
||||
version = "0.15.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "woodpecker-ci";
|
||||
repo = "woodpecker";
|
||||
rev = "v${version}";
|
||||
|
@ -17,11 +17,10 @@ pkgs.buildGoModule rec {
|
|||
|
||||
subPackages = [ "cmd/agent" ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
meta = with lib; {
|
||||
description = "Woodpecker is a community fork of the Drone CI system.";
|
||||
homepage = "https://woodpecker-ci.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ "codedotjs <code.js@disroot.org>" ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
with import <nixpkgs> {};
|
||||
|
||||
pkgs.buildGoModule rec {
|
||||
buildGoModule rec {
|
||||
pname = "woodpecker-cli";
|
||||
version = "0.15.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "woodpecker-ci";
|
||||
repo = "woodpecker";
|
||||
rev = "v${version}";
|
||||
|
@ -17,11 +17,10 @@ pkgs.buildGoModule rec {
|
|||
|
||||
subPackages = [ "cmd/cli" ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
meta = with lib; {
|
||||
description = "Woodpecker is a community fork of the Drone CI system.";
|
||||
homepage = "https://woodpecker-ci.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ "codedotjs <code.js@disroot.org>" ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
|
@ -22,7 +22,6 @@ let
|
|||
description = "Woodpecker is a community fork of the Drone CI system.";
|
||||
homepage = "https://woodpecker-ci.org";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ "f0x52" "codedotjs <code.js@disroot.org>" ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
in buildGoModule rec {
|
||||
|
|
Loading…
Reference in a new issue