awsebcli: use python3

Its dependency cement is disabled on python2 since 36a4df6.
This commit is contained in:
Robert Schütz 2018-08-30 19:22:26 +02:00 committed by Frederik Rietdijk
parent 39ca3eb666
commit dbd3d509e0

View File

@ -1,7 +1,7 @@
{ stdenv, python }:
{ stdenv, python3, glibcLocales }:
let
localPython = python.override {
localPython = python3.override {
packageOverrides = self: super: {
cement = super.cement.overridePythonAttrs (oldAttrs: rec {
version = "2.8.2";
@ -61,6 +61,12 @@ in with localPython.pkgs; buildPythonApplication rec {
sha256 = "128dgxyz2bgl3r4jdkbmjs280004bm0dwzln7p6ly3yjs2x37jl6";
};
buildInputs = [
glibcLocales
];
LC_ALL = "en_US.UTF-8";
checkInputs = [
pytest mock nose pathspec colorama requests docutils
];