summaryrefslogtreecommitdiff
path: root/pkgs/tools/virtualization/ec2instanceconnectcli/default.nix
blob: 860a747a7e690f7c67121454af53f0167a8799c4 (plain)
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
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  boto3,
  cryptography,
}:

buildPythonPackage rec {
  pname = "ec2instanceconnectcli";
  version = "1.0.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-/U59a6od0JI27VHX+Bvue/7tQy+iwU+g8yt9/GgdoH4=";
  };

  propagatedBuildInputs = [
    boto3
    cryptography
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "ec2instanceconnectcli" ];

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