forked from mirrors/nixpkgs
dd-agent: fix by adding uptime as dependency.
This commit is contained in:
parent
d477193029
commit
f79be2cfa3
|
@ -20,6 +20,7 @@ let
|
|||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
|
|
|
@ -26512,6 +26512,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