forked from mirrors/nixpkgs
python3Packages.docker-py: init at 1.10.6
This commit is contained in:
parent
4f832c5ad8
commit
98ff153a95
28
pkgs/development/python-modules/docker-py/default.nix
Normal file
28
pkgs/development/python-modules/docker-py/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, six, requests, websocket_client, docker_pycreds }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.10.6";
|
||||
pname = "docker-py";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
|
||||
};
|
||||
|
||||
# The tests access the network.
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
docker_pycreds
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python library for the Docker Remote API";
|
||||
homepage = https://github.com/docker/docker-py/;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.pmiddend ];
|
||||
};
|
||||
}
|
|
@ -1642,6 +1642,8 @@ in {
|
|||
|
||||
docker = callPackage ../development/python-modules/docker {};
|
||||
|
||||
docker-py = disabledIf isPy27 (callPackage ../development/python-modules/docker-py {});
|
||||
|
||||
dockerpty = callPackage ../development/python-modules/dockerpty {};
|
||||
|
||||
docker_pycreds = callPackage ../development/python-modules/docker-pycreds {};
|
||||
|
|
Loading…
Reference in a new issue