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