Files
nixpkgs/pkgs/development/python-modules/mongoquery/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

35 lines
642 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, isPy27
}:
buildPythonPackage rec {
pname = "mongoquery";
version = "1.4.2";
format = "setuptools";
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 ];
};
}