Add alejandra

This commit is contained in:
Dave Gallant
2022-05-28 10:30:29 -04:00
parent 80e7729ab4
commit d2aaa3920f
31 changed files with 334 additions and 323 deletions

View File

@@ -1,6 +1,8 @@
{ lib, fetchFromGitHub, python3 }:
let
{
lib,
fetchFromGitHub,
python3,
}: let
py = python3.override {
packageOverrides = self: super: {
prettycolors = super.buildPythonPackage rec {
@@ -13,41 +15,41 @@ let
rev = "8b58260f00b0aab789e940f5ee190fa9c3c10925";
sha256 = "sha256-ICFwaRkQ30/sml4GuzXF8TyJAg+ZXnLmKGil18KisUw=";
};
propagatedBuildInputs = [ py.pkgs.colorama ];
propagatedBuildInputs = [py.pkgs.colorama];
};
};
};
in
with py.pkgs;
buildPythonApplication rec {
pname = "aws-role-play";
version = "419e0de612554bfce467da4896e1abcadb78c406";
format = "pyproject";
with py.pkgs;
buildPythonApplication rec {
pname = "aws-role-play";
version = "419e0de612554bfce467da4896e1abcadb78c406";
format = "pyproject";
src = fetchFromGitHub {
owner = "rewindio";
repo = "aws-role-play";
rev = version;
hash = "sha256-o+u/ixL48J2WMWFRkOlWGvXMVwn+BrofzlspOVwmnCo=";
};
src = fetchFromGitHub {
owner = "rewindio";
repo = "aws-role-play";
rev = version;
hash = "sha256-o+u/ixL48J2WMWFRkOlWGvXMVwn+BrofzlspOVwmnCo=";
};
# No tests included
doCheck = false;
# No tests included
doCheck = false;
nativeBuildInputs = [ poetry ];
nativeBuildInputs = [poetry];
propagatedBuildInputs = with py.pkgs; [
boto3
click
colorama
prettycolors
];
propagatedBuildInputs = with py.pkgs; [
boto3
click
colorama
prettycolors
];
passthru.python3 = python3;
passthru.python3 = python3;
meta = with lib; {
homepage = "https://www.rewind.com/";
description = "A CLI tool that makes assuming IAM roles and exporting temporary credentials easier";
license = licenses.mit;
};
}
meta = with lib; {
homepage = "https://www.rewind.com/";
description = "A CLI tool that makes assuming IAM roles and exporting temporary credentials easier";
license = licenses.mit;
};
}