dd-agent: fix by adding uptime as dependency.
(cherry picked from commit f79be2cfa321617314aa253a8a6341a2f0ab7816)
This commit is contained in:
parent
079ee6425c
commit
35dfdc9277
2 changed files with 18 additions and 0 deletions
|
@ -20,6 +20,7 @@ let
|
|||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
|
|
|
@ -26619,6 +26619,23 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
uptime = buildPythonPackage rec {
|
||||
name = "uptime-${version}";
|
||||
version = "3.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/u/uptime/${name}.tar.gz";
|
||||
sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/Cairnarvon/uptime;
|
||||
description = "Cross-platform way to retrieve system uptime and boot time";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ rob ];
|
||||
};
|
||||
};
|
||||
|
||||
urlgrabber = buildPythonPackage rec {
|
||||
name = "urlgrabber-3.9.1";
|
||||
disabled = isPy3k;
|
||||
|
|
Loading…
Reference in a new issue