summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mongotail/default.nix
blob: be0d0a93c33a9e2c6e47d2b3422806f4bb37ffd7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  };
}