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