pythonPackages.docker: Fix build for python3
This commit is contained in:
parent
297ea7550c
commit
bfc2721ebf
|
@ -6079,13 +6079,16 @@ in {
|
||||||
docker = buildPythonPackage rec {
|
docker = buildPythonPackage rec {
|
||||||
name = "docker-py-${version}";
|
name = "docker-py-${version}";
|
||||||
version = "1.10.6";
|
version = "1.10.6";
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/d/docker-py/${name}.tar.gz";
|
url = "mirror://pypi/d/docker-py/${name}.tar.gz";
|
||||||
sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
|
sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgs.glibcLocales
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
six
|
six
|
||||||
requests2
|
requests2
|
||||||
|
@ -6098,6 +6101,8 @@ in {
|
||||||
# Version conflict
|
# Version conflict
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An API client for docker written in Python";
|
description = "An API client for docker written in Python";
|
||||||
homepage = https://github.com/docker/docker-py;
|
homepage = https://github.com/docker/docker-py;
|
||||||
|
|
Loading…
Reference in New Issue