dd-agent: fix Python missing dependencies and versions
This commit is contained in:
parent
262993d2b8
commit
17a8d19032
@ -1,7 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, python, pythonPackages, sysstat, unzip, tornado
|
||||
, makeWrapper }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, python, pythonPackages
|
||||
, sysstat, unzip, tornado, makeWrapper }:
|
||||
let
|
||||
docker_1_10 = buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "1.10.6";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "docker-py";
|
||||
rev = version;
|
||||
sha256 = "1awzpbrkh4fympqzddz5i3ml81b7f0i0nwkvbpmyxjjfqx6l0m4m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
six
|
||||
requests2
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "5.5.2";
|
||||
name = "dd-agent-${version}";
|
||||
|
||||
@ -23,7 +47,9 @@ stdenv.mkDerivation rec {
|
||||
pythonPackages.simplejson
|
||||
pythonPackages.pyyaml
|
||||
pythonPackages.pymongo
|
||||
pythonPackages.docker
|
||||
pythonPackages.python-etcd
|
||||
pythonPackages.consul
|
||||
docker_1_10
|
||||
];
|
||||
propagatedBuildInputs = [ python tornado ];
|
||||
|
||||
|
@ -13025,7 +13025,7 @@ with pkgs;
|
||||
|
||||
dbvisualizer = callPackage ../applications/misc/dbvisualizer {};
|
||||
|
||||
dd-agent = callPackage ../tools/networking/dd-agent { inherit (pythonPackages) tornado; };
|
||||
dd-agent = callPackage ../tools/networking/dd-agent { inherit (pythonPackages) tornado buildPythonPackage; };
|
||||
|
||||
deadbeef = callPackage ../applications/audio/deadbeef {
|
||||
pulseSupport = config.pulseaudio or true;
|
||||
|
Loading…
Reference in New Issue
Block a user