depot/third_party/nixpkgs/pkgs/development/python-modules/mockupdb/default.nix

25 lines
548 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, pymongo
}:
buildPythonPackage rec {
pname = "mockupdb";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "d36d0e5b6445ff9141e34d012fa2b5dfe589847aa1e3ecb8d774074962af944e";
};
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 ];
};
}