pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, stdenv, buildGoModule,
|
||||
{ fetchFromGitHub, lib, stdenv, buildGoModule,
|
||||
makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }:
|
||||
buildGoModule rec {
|
||||
name = "buildkite-agent-${version}";
|
||||
@@ -27,10 +27,10 @@ buildGoModule rec {
|
||||
|
||||
# These are runtime dependencies
|
||||
wrapProgram $out/bin/buildkite-agent \
|
||||
--prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
|
||||
--prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Build runner for buildkite.com";
|
||||
longDescription = ''
|
||||
The buildkite-agent is a small, reliable, and cross-platform build runner
|
||||
|
||||
@@ -13,7 +13,7 @@ buildGoPackage {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
${stdenv.lib.optionalString hasBootstrapScript ''
|
||||
${lib.optionalString hasBootstrapScript ''
|
||||
# Install bootstrap.sh
|
||||
mkdir -p $out/libexec/buildkite-agent
|
||||
cp $NIX_BUILD_TOP/go/src/${goPackagePath}/templates/bootstrap.sh $out/libexec/buildkite-agent
|
||||
@@ -25,11 +25,11 @@ buildGoPackage {
|
||||
|
||||
# These are runtime dependencies
|
||||
wrapProgram $out/bin/buildkite-agent \
|
||||
${stdenv.lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \
|
||||
--prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
|
||||
${lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \
|
||||
--prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Build runner for buildkite.com";
|
||||
longDescription = ''
|
||||
The buildkite-agent is a small, reliable, and cross-platform build runner
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
let version = "1.2.4";
|
||||
in buildGoModule rec {
|
||||
@@ -21,7 +21,7 @@ in buildGoModule rec {
|
||||
sha256 = "14sm5k2ifvr4g9369zqgb92vrr4rc0bxf5m52l3g8bd2s8fq8nx8";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ bricewge ];
|
||||
license = licenses.asl20;
|
||||
description = "Command line client for the Drone continuous integration server";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
name = "drone.io-${version}";
|
||||
@@ -15,7 +15,7 @@ buildGoModule rec {
|
||||
sha256 = "sha256-12Jac+mXWdUX8gWvmpdO9ROv7Bi0YzvyqnNDVNJOr34=";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ elohmeier vdemeester ];
|
||||
license = licenses.asl20;
|
||||
description = "Continuous Integration platform built on container technology";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gocd-agent-${version}-${rev}";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
|
||||
sha256 = "1nirdv82i8x4s1dyb0rmxldh8avappd4g3mbbl6xp7r7s0drcprp";
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
|
||||
homepage = "http://www.go.cd";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gocd-server-${version}-${rev}";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0c30qzd6awlw0zx91rk6na0mmgykqkgrw9ychx18ivjwma0hr0sc";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
|
||||
homepage = "http://www.go.cd";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt
|
||||
{ lib, stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt
|
||||
, writeScript, nixosTests, jq, cacert, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
#!${stdenv.shell}
|
||||
set -o errexit
|
||||
PATH=${
|
||||
stdenv.lib.makeBinPath [
|
||||
lib.makeBinPath [
|
||||
cacert
|
||||
common-updater-scripts
|
||||
coreutils
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "An extendable open source continuous integration server";
|
||||
homepage = "https://jenkins-ci.org";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
|
||||
rm -r $out/lib # it contains only systemd unit file
|
||||
'');
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Lightweight and modular continuous integration service";
|
||||
homepage = "https://laminar.ohwg.net";
|
||||
license = licenses.gpl3;
|
||||
|
||||
Reference in New Issue
Block a user