mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
awscurl: init at 0.44 (#567837)
This commit is contained in:
51
pkgs/by-name/aw/awscurl/package.nix
Normal file
51
pkgs/by-name/aw/awscurl/package.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "awscurl";
|
||||
version = "0.44";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "okigan";
|
||||
repo = "awscurl";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-XMPvAQ7O42HCdVHABe9GENNLIKrYzrpCdfh7dcym2Y8=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
awscrt
|
||||
boto3
|
||||
botocore
|
||||
configargparse
|
||||
configparser
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires internet
|
||||
"tests/integration_test.py"
|
||||
"tests/tls_test.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Curl like tool with AWS request signing";
|
||||
homepage = "https://github.com/okigan/awscurl";
|
||||
changelog = "https://github.com/okigan/awscurl/releases/tag/${finalAttrs.src.tag}";
|
||||
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user