pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 16:19:50 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, curl }:
{ lib, stdenv, fetchurl, perl, curl }:
stdenv.mkDerivation {
name = "aws-1.75";
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
homepage = "https://www.timkay.com/aws/";
description = "Command-line utility for working with Amazon EC2, S3, SQS, ELB, IAM and SDB";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
};
}

View File

@@ -2,7 +2,7 @@
, makeWrapper, coreutils, gnupg, gnutar, squashfsTools, debootstrap
}:
let binPath = stdenv.lib.makeBinPath [
let binPath = lib.makeBinPath [
coreutils gnupg gnutar squashfsTools debootstrap
];
in

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, ruby, openssl, makeWrapper }:
{ lib, stdenv, fetchurl, unzip, ruby, openssl, makeWrapper }:
stdenv.mkDerivation rec {
pname = "ec2-ami-tools";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
for i in $out/bin/*; do
wrapProgram $i \
--set EC2_HOME $out \
--prefix PATH : ${stdenv.lib.makeBinPath [ ruby openssl ]}
--prefix PATH : ${lib.makeBinPath [ ruby openssl ]}
done
sed -i 's|/bin/bash|${stdenv.shell}|' $out/lib/ec2/platform/base/pipeline.rb
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://aws.amazon.com/developertools/Amazon-EC2/368";
description = "Command-line tools to create and manage Amazon EC2 virtual machine images";
license = stdenv.lib.licenses.amazonsl;
license = lib.licenses.amazonsl;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
{ lib, stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "ec2-api-tools-1.7.5.1";
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351";
description = "Command-line tools to create and manage Amazon EC2 virtual machines";
license = stdenv.lib.licenses.amazonsl;
license = lib.licenses.amazonsl;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchgit, python2Packages }:
{ lib, stdenv, fetchgit, python2Packages }:
let
inherit (python2Packages) buildPythonApplication boto m2crypto;
@@ -17,7 +17,7 @@ in buildPythonApplication {
meta = {
homepage = "https://github.com/eucalyptus/euca2ools";
description = "Tools for interacting with Amazon EC2/S3-compatible cloud computing services";
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.linux;
};
}

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/nixos-shell \
--prefix PATH : ${stdenv.lib.makeBinPath [ nix ]}
--prefix PATH : ${lib.makeBinPath [ nix ]}
'';
installFlags = [ "PREFIX=${placeholder "out"}" ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, bzip2, lzo, zlib, xz, bash, python, gnutar, gnused, gnugrep, which }:
{ lib, stdenv, fetchurl, bzip2, lzo, zlib, xz, bash, python, gnutar, gnused, gnugrep, which }:
stdenv.mkDerivation (rec {
pname = "xe-guest-utilities";
@@ -6,9 +6,9 @@ stdenv.mkDerivation (rec {
meta = {
description = "Citrix XenServer Tools";
homepage = "http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US";
maintainers = with stdenv.lib.maintainers; [ benwbooth ];
platforms = stdenv.lib.platforms.linux;
license = [ stdenv.lib.licenses.gpl2 stdenv.lib.licenses.lgpl21 ];
maintainers = with lib.maintainers; [ benwbooth ];
platforms = lib.platforms.linux;
license = [ lib.licenses.gpl2 stdenv.lib.licenses.lgpl21 ];
};
src = fetchurl {
url = "https://sources.archlinux.org/other/community/xe-guest-utilities/xe-guest-utilities_${version}-1120.tar.gz";