rekahsoft-gnu: python-xyz: Add awscliv2 and associated dependencies

This commit is contained in:
Collin J. Doering 2021-09-05 17:23:16 -04:00
parent 9ebc21e605
commit 0cd2c2d5a8
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 182 additions and 0 deletions

View File

@ -2209,3 +2209,185 @@ and have a maximum lifetime built-in.")
"This package contains a small collection of test tool plugins for
@code{nose2} and @code{flake8}.")
(license license:asl2.0)))
(define-public awscliv2
(package
(inherit awscli)
(name "awscliv2")
(version "2.2.33")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aws/aws-cli.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0gswyik6z65pa5gi5ar762x8wv6hr1i898l4vf4f7k0rpi60zb4n"))))
(native-inputs
`(("python-distro" ,python-distro-1.5)))
(propagated-inputs
`(,@(fold alist-delete
(package-propagated-inputs awscli)
'("python-rsa" "python-s3transfer" "python-colorama"
"python-botocore" "python-docutils"))
("python-rsa" ,python-rsa-3.1)
("python-awscrt" ,python-awscrt-0.11)
("python-prompt-toolkit" ,python-prompt-toolkit-2)
("python-ruamel.yaml" ,python-ruamel.yaml)
("python-s3transfer" ,python-s3transfer-0.4)
("python-cryptography" ,python-cryptography-3.3)
("python-docutils" ,python-docutils-0.15)
("python-colorama" ,python-colorama-0.4.3)
("python-botocore" ,python-botocore-2.0.0dev141)))
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'fix-reference-to-groff))
;; TODO: fixme
#:tests? #f))
(synopsis "Command line client for AWS v2")
(description "AWS CLI v2 provides a unified command line interface to the
Amazon Web Services (AWS) API.")))
(define-public python-rsa-3.1
(package
(inherit python-rsa)
(version "3.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rsa" version))
(sha256
(base32
"0n2zwd0r1686gvlj800x2ras3r7jdiay384yczbr56yyl598gsv6"))))
(arguments
`(,@(package-arguments python-rsa)
;; TODO: fixme
#:tests? #f))))
(define-public python-awscrt
(package
(name "python-awscrt")
(version "0.12.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "awscrt" version))
(sha256
(base32
"1z6hyazw5zz0xjx7wjfxi7i2blg4535a1zq70c356d46kqhbyhc0"))))
(build-system python-build-system)
(native-inputs
`(("cmake" ,cmake)))
(propagated-inputs
`(("python-boto3" ,python-boto3)))
(home-page
"https://github.com/awslabs/aws-crt-python")
(synopsis
"A common runtime for AWS Python projects")
(description
"A common runtime for AWS Python projects")
(license license:asl2.0)))
(define-public python-awscrt-0.11
(package
(inherit python-awscrt)
(version "0.11.24")
(source
(origin
(method url-fetch)
(uri (pypi-uri "awscrt" version))
(sha256
(base32
"1zv2043mxzmbb449n3rwirz1zl22npsyyw05ps2h1gq4ljy6iamq"))))))
(define-public python-distro-1.5
(package
(inherit python-distro)
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "distro" version))
(sha256
(base32
"14nz51cqlnxmgfqqilxyvjwwa5xfivdvlm0d0b1qzgcgwdm7an0f"))))))
(define-public python-prompt-toolkit-2
(package
(inherit python-prompt-toolkit)
(version "2.0.10")
(source
(origin
(method url-fetch)
(uri (pypi-uri "prompt_toolkit" version))
(sha256
(base32 "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi"))))))
(define-public python-s3transfer-0.4
(package
(inherit python-s3transfer)
(version "0.4.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "s3transfer" version))
(sha256
(base32
"1cp169vz9rvng7dwbn33fgdbl3b014zpsdqsnfxxw7jm2r5jy0nb"))))))
(define-public python-cryptography-3.3
(package
(inherit python-cryptography)
(version "3.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
"1vcvw4lkw1spiq322pm1256kail8nck6bbgpdxx3pqa905wd6q2s"))))))
(define-public python-docutils-0.15
(package
(inherit python-docutils)
(version "0.15.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "docutils" version))
(sha256
(base32
"168s5v7bff5ar9jspr6wn823q1sbn0jhnbp9clk41nl8j09fmbm2"))))
(arguments
`(,@(package-arguments python-rsa)
;; TODO: fixme
#:tests? #f))))
(define-public python-colorama-0.4.3
(package
(inherit python-colorama)
(version "0.4.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "colorama" version))
(sha256
(base32 "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9"))))))
(define-public python-botocore-2.0.0dev141
(let ((commit "80f9009865ca01b1c726468eec6bcb3c56832331")
(revision "1"))
(package
(inherit python-botocore)
(name "python-botocore")
(version "2.0.0dev141")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/boto/botocore.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0rqv1vhmdpcn6cvzvfvsda1iajjiww964xpq3p6ra956fznwg5iz")))))))