at 22.05-pre 737 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, databases 5, typesystem 6, aiosqlite 7, pytestCheckHook 8, pytest-cov 9, typing-extensions 10}: 11 12buildPythonPackage rec { 13 pname = "orm"; 14 version = "0.1.5"; 15 16 src = fetchFromGitHub { 17 owner = "encode"; 18 repo = "orm"; 19 rev = version; 20 sha256 = "1g70cr0559iyqfzidwh6n2qq6d4dcnrr4sg0jkn1s4qzka828mj7"; 21 }; 22 23 propagatedBuildInputs = [ 24 databases 25 typesystem 26 ]; 27 28 checkInputs = [ 29 aiosqlite 30 pytestCheckHook 31 pytest-cov 32 typing-extensions 33 ]; 34 35 pythonImportsCheck = [ "orm" ]; 36 37 meta = with lib; { 38 description = "An async ORM"; 39 homepage = "https://github.com/encode/orm"; 40 license = licenses.bsd3; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}