mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Avoid top-level with ...;
in pkgs/tools/virtualization/awsebcli/default.nix
This commit is contained in:
parent
4ede2c3657
commit
3c9cdd2965
1 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib, python3, fetchFromGitHub, glibcLocales, git }:
|
||||
|
||||
let
|
||||
changeVersion = overrideFunc: version: hash: overrideFunc (oldAttrs: rec {
|
||||
inherit version;
|
||||
|
@ -13,8 +14,10 @@ let
|
|||
cement = changeVersion super.cement.overridePythonAttrs "2.8.2" "sha256-h2XtBSwGHXTk0Bia3cM9Jo3lRMohmyWdeXdB9yXkItI=";
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
with localPython.pkgs; buildPythonApplication rec {
|
||||
|
||||
localPython.pkgs.buildPythonApplication rec {
|
||||
pname = "awsebcli";
|
||||
version = "3.20.10";
|
||||
format = "setuptools";
|
||||
|
@ -31,7 +34,7 @@ with localPython.pkgs; buildPythonApplication rec {
|
|||
substituteInPlace setup.py --replace "scripts=['bin/eb']," ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = with localPython.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
|
@ -39,7 +42,7 @@ with localPython.pkgs; buildPythonApplication rec {
|
|||
glibcLocales
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with localPython.pkgs; [
|
||||
blessed
|
||||
botocore
|
||||
cement
|
||||
|
@ -64,7 +67,7 @@ with localPython.pkgs; buildPythonApplication rec {
|
|||
"termcolor"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with localPython.pkgs; [
|
||||
pytestCheckHook
|
||||
pytest-socket
|
||||
mock
|
||||
|
|
Loading…
Reference in a new issue