summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/collectd-connect-time/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-27 18:10:32 +0100
committermakefu <github@syntax-fehler.de>2015-10-27 18:10:32 +0100
commit8c9c74a03bfc1aa7b74bd1d4098851075608f311 (patch)
tree3ee89817515942c1a49aedd8c1863169cebb7011 /krebs/5pkgs/collectd-connect-time/default.nix
parent584213070350a86423e53dce5a8b0e0bc7c0fa8c (diff)
k 5 collectd-connect-time: initial commit
Diffstat (limited to 'krebs/5pkgs/collectd-connect-time/default.nix')
-rw-r--r--krebs/5pkgs/collectd-connect-time/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/krebs/5pkgs/collectd-connect-time/default.nix b/krebs/5pkgs/collectd-connect-time/default.nix
new file mode 100644
index 000000000..bff4928cc
--- /dev/null
+++ b/krebs/5pkgs/collectd-connect-time/default.nix
@@ -0,0 +1,15 @@
+{lib, pkgs, pythonPackages, fetchurl, ... }:
+
+pythonPackages.buildPythonPackage rec {
+ name = "collectd-connect-time-${version}";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/c/collectd-connect-time/collectd-connect-time-${version}.tar.gz";
+ sha256 = "0j2glcm4qjry1hqgci84ifj83xjpannl5yckyjadc8s9vyf0mp99";
+ };
+ meta = {
+ homepage = https://pypi.python.org/pypi/collectd-connect-time/;
+ description = "TCP Connection time plugin for collectd";
+ license = lib.licenses.wtfpl;
+ };
+}