Skip to content

Commit

Permalink
dd-agent: fix by adding uptime as dependency.
Browse files Browse the repository at this point in the history
(cherry picked from commit f79be2c)
  • Loading branch information
rbvermaa committed Mar 29, 2017
1 parent 079ee64 commit 35dfdc9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/tools/networking/dd-agent/default.nix
Expand Up @@ -20,6 +20,7 @@ let
ipaddress
backports_ssl_match_hostname
docker_pycreds
uptime
];

# due to flake8
Expand Down
17 changes: 17 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 35dfdc9

Please sign in to comment.