1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, isPy27
6}:
7
8buildPythonPackage rec {
9 pname = "mongoquery";
10 version = "1.4.2";
11
12 disabled = isPy27;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "bd19fc465f0aa9feb3070f144fde41fc68cf28ea32dd3b7565f7df3ab6fc0ac2";
17 };
18
19 propagatedBuildInputs = [
20 six
21 ];
22
23 pythonImportsCheck = [
24 "mongoquery"
25 ];
26
27 meta = with lib; {
28 description = "A python implementation of mongodb queries";
29 homepage = "https://github.com/kapouille/mongoquery";
30 license = with licenses; [ unlicense ];
31 maintainers = with maintainers; [ misuzu ];
32 };
33}