cleaned up

This commit is contained in:
Johannes Schnürle 2022-06-02 22:16:57 +02:00
parent af2b3eecbb
commit 638c5413e0
3 changed files with 8 additions and 11 deletions

View file

@ -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;
};
}

View file

@ -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;
};
}

View file

@ -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 {