awscli: 1.11.162 -> 1.11.185
This commit is contained in:
parent
689f385923
commit
d191bede7b
68
pkgs/tools/admin/awscli/default.nix
Normal file
68
pkgs/tools/admin/awscli/default.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, botocore
|
||||
, bcdoc
|
||||
, s3transfer
|
||||
, six
|
||||
, colorama
|
||||
, docutils
|
||||
, rsa
|
||||
, pyyaml
|
||||
, groff
|
||||
, less
|
||||
}:
|
||||
|
||||
let
|
||||
colorama_3_7 = colorama.overrideAttrs (old: rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "colorama";
|
||||
version = "0.3.7";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||
};
|
||||
});
|
||||
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "awscli";
|
||||
version = "1.11.185";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18rskl6sla456z4hkq2gmmm03fqc4rqw5pfiqdyc7a2v9kljv4ah";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
botocore
|
||||
bcdoc
|
||||
s3transfer
|
||||
six
|
||||
colorama_3_7
|
||||
docutils
|
||||
rsa
|
||||
pyyaml
|
||||
groff
|
||||
less
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
|
||||
rm $out/bin/aws.cmd
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://aws.amazon.com/cli/;
|
||||
description = "Unified tool to manage your AWS services";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with maintainers; [ muflax ];
|
||||
};
|
||||
}
|
@ -511,7 +511,7 @@ with pkgs;
|
||||
|
||||
avfs = callPackage ../tools/filesystems/avfs { };
|
||||
|
||||
awscli = pythonPackages.awscli; # Should be moved out of python-packages.nix
|
||||
awscli = pythonPackages.callPackage ../tools/admin/awscli { };
|
||||
|
||||
awsebcli = callPackage ../tools/virtualization/awsebcli {};
|
||||
|
||||
|
@ -735,60 +735,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
awscli =
|
||||
let
|
||||
colorama_3_7 = self.colorama.overrideAttrs (old: rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "colorama";
|
||||
version = "0.3.7";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||
};
|
||||
});
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "awscli";
|
||||
version = "1.11.162";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ff17fdzzncrzl7ps1cyrs0c5f82ncbvflnjz8sd1vkcmn9yij8r";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
botocore
|
||||
bcdoc
|
||||
s3transfer
|
||||
six
|
||||
colorama_3_7
|
||||
docutils
|
||||
rsa
|
||||
pyyaml
|
||||
pkgs.groff
|
||||
pkgs.less
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
|
||||
rm $out/bin/aws.cmd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://aws.amazon.com/cli/;
|
||||
description = "Unified tool to manage your AWS services";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with maintainers; [ muflax ];
|
||||
};
|
||||
};
|
||||
|
||||
azure = buildPythonPackage rec {
|
||||
version = "0.11.0";
|
||||
name = "azure-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user