mirror of
https://github.com/davegallant/nix-config
synced 2025-08-09 18:52:28 +00:00
Add alejandra
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user