about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mongoquery/default.nix
blob: c6034ce27614fb7a7a55495a66d49b99c4f85691 (plain) (blame)
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
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPy27
}:

buildPythonPackage rec {
  pname = "mongoquery";
  version = "1.4.2";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "bd19fc465f0aa9feb3070f144fde41fc68cf28ea32dd3b7565f7df3ab6fc0ac2";
  };

  propagatedBuildInputs = [
    six
  ];

  pythonImportsCheck = [
    "mongoquery"
  ];

  meta = with lib; {
    description = "A python implementation of mongodb queries";
    homepage = "https://github.com/kapouille/mongoquery";
    license = with licenses; [ unlicense ];
    maintainers = with maintainers; [ misuzu ];
  };
}