summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/mongotail/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mongotail/default.nix b/pkgs/development/python-modules/mongotail/default.nix
new file mode 100644
index 000000000000..be0d0a93c33a
--- /dev/null
+++ b/pkgs/development/python-modules/mongotail/default.nix
@@ -0,0 +1,27 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+, isPy27
+, res-address
+}:
+
+buildPythonPackage rec {
+ pname = "mongotail";
+ version = "2.4.0";
+ disabled = isPy27;
+
+ src = fetchFromGitHub {
+ owner = "mrsarm";
+ repo = "mongotail";
+ rev = version;
+ sha256 = "19hixyvfnkqwb1jgafb9lz8pgd9s0agg7kz2nfciqni76qwb0qdw";
+ };
+
+ propagatedBuildInputs = [ res-address ];
+
+ meta = with stdenv.lib; {
+ description = "Mongotail, Log all MongoDB queries in a "tail"able way.";
+ homepage = "https://github.com/mrsarm/mongotail";
+ license = licenses.mit;
+ };
+}