Merge pull request #207444 from misuzu/mongoquery-init

python310Packages.mongoquery: init at 1.4.2
This commit is contained in:
Jonas Heinrich 2022-12-24 23:46:46 +01:00 committed by GitHub
commit f184f4fb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -5892,6 +5892,8 @@ self: super: with self; {
mongoengine = callPackage ../development/python-modules/mongoengine { };
mongoquery = callPackage ../development/python-modules/mongoquery { };
monkeyhex = callPackage ../development/python-modules/monkeyhex { };
monosat = pkgs.monosat.python {