3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mongomock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
697 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pbr
, sentinels
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mongomock";
version = "4.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8GzWKvuK4+9jujE0mr0iCmV+8N1PAkOilYfFIT+TG30=";
};
nativeBuildInputs = [
pbr
];
propagatedBuildInputs = [
sentinels
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "mongomock" ];
meta = with lib; {
homepage = "https://github.com/mongomock/mongomock";
description = "Fake pymongo stub for testing simple MongoDB-dependent code";
license = licenses.bsd3;
maintainers = with maintainers; [ gador ];
};
}