depot/third_party/nixpkgs/pkgs/development/python-modules/mongoquery/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

33 lines
617 B
Nix

{ 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 ];
};
}