summary refs log tree commit diff
path: root/pkgs/tools/virtualization/ec2instanceconnectcli/default.nix
blob: 1ce3c5d2f1b4ec368889b6b1a77f0d1c474676ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi, boto3, cryptography }:

buildPythonPackage rec {
  pname = "ec2instanceconnectcli";
  version = "1.0.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-VaCyCnEhSx1I3bNo57p0IXf92+tO1tT7KSUXzO1IyIU=";
  };

  propagatedBuildInputs = [ boto3 cryptography ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "ec2instanceconnectcli" ];

  meta = with lib; {
    description = "Command Line Interface for AWS EC2 Instance Connect";
    homepage = "https://github.com/aws/aws-ec2-instance-connect-cli";
    license = licenses.asl20;
    maintainers = with maintainers; [ yurrriq ];
  };
}