3
0
Fork 0
forked from mirrors/nixpkgs

dd-agent: fix by adding uptime as dependency.

This commit is contained in:
Rob Vermaas 2017-03-29 14:55:26 +00:00
parent d477193029
commit f79be2cfa3
No known key found for this signature in database
GPG key ID: E114A5F264A8AE8E
2 changed files with 18 additions and 0 deletions

View file

@ -20,6 +20,7 @@ let
ipaddress ipaddress
backports_ssl_match_hostname backports_ssl_match_hostname
docker_pycreds docker_pycreds
uptime
]; ];
# due to flake8 # due to flake8

View file

@ -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 { urlgrabber = buildPythonPackage rec {
name = "urlgrabber-3.9.1"; name = "urlgrabber-3.9.1";
disabled = isPy3k; disabled = isPy3k;