mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3.pkgs.motor: init at 2.4.0
This commit is contained in:
parent
5b1d109540
commit
e9ca610027
30
pkgs/development/python-modules/motor/default.nix
Normal file
30
pkgs/development/python-modules/motor/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, pymongo, mockupdb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "motor";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mongodb";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1sgaqg98h35lazzdi015q1i60ig7krid8b10a5rm6lf755y8yj2c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymongo ];
|
||||
|
||||
# network connections
|
||||
doCheck = false;
|
||||
checkInputs = [ mockupdb ];
|
||||
|
||||
pythonImportsCheck = [ "motor" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Non-blocking MongoDB driver for Tornado or asyncio";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/mongodb/motor";
|
||||
maintainers = with maintainers; [ globin ];
|
||||
};
|
||||
}
|
@ -4272,6 +4272,8 @@ in {
|
||||
|
||||
moto = callPackage ../development/python-modules/moto { };
|
||||
|
||||
motor = callPackage ../development/python-modules/motor { };
|
||||
|
||||
moviepy = callPackage ../development/python-modules/moviepy { };
|
||||
|
||||
mox3 = callPackage ../development/python-modules/mox3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user