2021-05-28 09:39:13 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pymongo
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mockupdb";
|
2021-10-17 02:12:59 +00:00
|
|
|
version = "1.8.1";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-17 02:12:59 +00:00
|
|
|
sha256 = "d36d0e5b6445ff9141e34d012fa2b5dfe589847aa1e3ecb8d774074962af944e";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pymongo ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mockupdb" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simulate a MongoDB server";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://github.com/ajdavis/mongo-mockup-db";
|
|
|
|
maintainers = with maintainers; [ globin ];
|
|
|
|
};
|
|
|
|
}
|